<HTML>
<HEAD>
<TITLE>My First Web Page</TITLE><HEAD>
<BODY>
<H1><CENTER>My First Web Page</CENTER></H1>
This sample includes several special HTML commands such as
<i>Italics</i>. Also, the document includes
<U>underlining</U>.
<P><HR>
Sometimes it is nice to make a list of stuff such as:
<P>
<OL>
<Li>This is the first list item
<Li>Here is a second list item
<Li>And this is a third list item
</OL>
<P>Unordered
lists are great to use - they have bullets instead of numbers when viewed in
a browser.
<UL>
<Li>This is the first item in an unordered list.
<Li>This is another item in an unordered list.
</UL>
<P><HR
Width= 150 Size= 10 NOSHADE>
Is that enough for one sample? If not, see <A HREF= "http://members.aol.com/bulwnkl/main.htm">Dr.
West's site</A> or send him an <A HREF= "mailto:bulwnkl@aol.com">
e-mail </A>.
</BODY></HTML>
|
This
signals beginning of an HTML document
HEAD and TITLE tell browser to display "My First..." as
the window title. </TITLE> ends the title.This
begins the body of the HTML document
H1 means heading style #1 (largest) and <CENTER> sets
alignment as centered for the paragraph. Both <i>
and <UNDERLINE> tags format the text and have matching closing
tags to end the format.
This begins a
new line and draws a horizontal rule. A paragraph break automatically
occurs under the HR. Text in the next paragraph tells that a list will
follow.
The <OL> indicates an ordered (numbered) list. Each item in the
list begins with <LI> for List Item. The entire list must be
terminated with a </OL> tag.
It is also a
necessity to include a paragraph break at the end of the list to start a new
paragraph.
The one
difference between an ordered and an unordered list is that the unordered
list begins <UL>.
The unordered
list also ends with a </UL> tag. The last portion of the sample
(below the unordered list) includes a more complex horizontal rule - a full
explanation is not included but this shows how to specify a width other than
full screen and a height of 10 pixels. After the line, the anchor tag
<A ...> signifies an address is coming. This paragraph shows
both a web address link and an e-mail address link. The text between
the opening <A> and closing </A> will show up in a browser in a
different color, will be underlined, and may be clicked to go to the address
in the opening tag. Finally, we end the body and the HTML document
with closing tags. |