Basic HTML: Actually Writing Docs
Before learning more HTML, it's worth actually writing a very simple document to see how it's done. On a Mac, we'll do this with SimpleText; on a Windows95 box, Notepad is a good choice, and in UNIX, emacs is hard to beat.Starting SimpleText:
In the NWU Science Lab, SimpleText is found in the Applications submenu of the Apple menu at the top left of the screen.
Writing the Document:
Figure 5: SimpleText
Start by creating the simple "basic HTML document" shown in figure 4 (shown again, with some decoration, in figure 5). In SimpleText, this means just typing the document as shown. Once it is all typed (figure 5), it needs to be saved. Use the File -> Save As option to save your file.Viewing the Document:
After saving the basic HTML document, go back to the browser window (Netscape) and use the File ->Open File option to Open the file you just saved. And, Voíla! your first Web document has been created and viewed.Changing the Document:
Now go back to the text editor (SimpleText) and change the Web page -- in particular, try the following (after making each change, go back and check on what has been created by First Saving the File and then viewing it again in the browser window):
- add some more text to the body, separating some of it from the "some text in it" with a <br> tag, and the next with a <p> tag,
- try changing the header tag to <h1 align=center> instead of <h1>,
- enclose the "some text in it" with an opening <i> and closing </i> tag.
[basics] [writing] [doit] [more] [tags1] [tags2] [doit2] [review]
[title]
[objectives]
[www uses]
[the works]
[basic html]
[adv html]
[editors]
[resources]
[feedback]
last modified (( Jun 18 08:23:44 1997 ))
HTML/WWW Wkshop: Do it 1
©1997 Gavin LaRose
Comments to: glarose@NebrWesleyan.edu