Building Web Pages With HTML



Using Your Text Editor

Entering the Text

Content of file first.htm :
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. Basic formatting tags:
<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>

Viewing the Results

HTML document should look like this:

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.

Review

The following HTML tags were used:

<H2> </H2>
Heading - formats text as a heading (valid values are H1 to H5). H1 is the top level heading, and is displayed as the largest by Netscape.

<B> </B>
Bold - formats the text as bold.

<I> </I>
Italics - formats the text as italics.

<P>
Paragraph break - ends paragraph and skips a line.

<BR>
Line break - begins a new line of text.

<HR>
Horizontal rule - displays a ruler line.

In the next section, we'll add to your sample document by using more HTML tags.

Go to Top of Page

Back to Contents Page On to Next Section


Building Web Pages with HTML
1996 MSACROA Conference
Monday, December 2, 1996