Now that you have Notepad running, you can begin typing text for your first HTML document. Go back to the Notepad window (
Alt-Tab or click the Notepad icon on the Taskbar). Enter the following text exactly as it appears, including the tags. Substitute your name for "Paul." When you are done, return to this guide:
<HTML>
<H2>Paul's First Document</H2>
This is my first HTML document. I'm looking forward to learning
about HTML and creating my own Web pages.<P>
This is the second paragraph. <B>This sentence is in bold,
with tags at the beginning and end.</B> This sentence is
back to normal text. <I>This sentence is in italics.</I><P>
<HR>
This shows a line break instead of paragraph.<BR>
This is a new line.
</HTML>
Note: because Notepad is a text editor, the text you type is saved as a long line until you press the Enter key. This makes no difference to Netscape, since it does not place line breaks or paragraph breaks unless you use the appropriate tags (such as
<P> ). To make your text readable as you type it, you can press Enter to break up the lines, or you can use Notepad's word wrap feature (found under the
Edit menu). You can also skip lines to break up the text. None of this will make any difference in your HTML document.
The text you just entered should look like this in Netscape:
Paul's First Document
This is my first HTML document. I'm looking forward to learning
about HTML and creating my own Web pages.
This is the second paragraph. This sentence is in bold, with tags
at the beginning and end. This sentence is back to normal text.
This sentence is in italics.
This shows a line break instead of paragraph.
This is a new line.
To see if it worked, we want to save your file and then look at it with Netscape.