An Introduction to HTML: Introductory Tags
In HTML, you place tags within less-than (<) and greater-than (>) brackets. Some are stand alone tags. For example,
<P>
is a stand-alone marker for a new paragraph.
Most tags come in pairs. The first tag tells the browser to begin a function. The second tag, distinguished by the addition of a forward slash (/), ends the action.
Here are the tags that all HTML documents ought to include:
<HTML>
Begin html document
<HEAD>
Begin header information. This includes information about the document, like the title of the document, but not the actual textual and pictoral contents.
<TITLE>
Begin title of page
An Introduction to HTML: Introductory Tags
</TITLE>
End title of page
</HEAD>
End header section
<BODY>
Begin the section for text and graphics
The text and the graphics for your page go here...
</BODY>
End of the page's body
</HTML>
End html document
Here is a sample program. Click here to see how it will appear on the web.
<HTML>
<HEAD>
<TITLE>
A sample WWW Page
</TITLE>
</HEAD>
<BODY>
<h2>
Here is a Sample WWW Page</h2>
Here, we can place text, icons, and graphics in many ways. Some of you will create new sources of information to put up on the web; many others will have existing documents to share.
</BODY>
</HTML>