Example of an (very) simple web page:
<HTML>
<HEAD>
<TITLE>A Simple Page</TITLE>
</HEAD>
<BODY>
<H1>This is a Header type 1</H1>
Sample Text Sample Text Sample Text Sample Text Sample Text
Sample Text<P>
Sample Text Sample Text Sample Text Sample Text Sample Text
Sample Text Sample Text Sample Text Sample Text Sample Text Sample
Text Sample Text Sample Text Sample Text Sample Text Sample Text
Sample Text Sample Text<BR>
<A
HREF="link.html">this
is a link</A><BR>
Sample Text Sample Text Sample Text Sample Text Sample Text
Sample Text Sample Text Sample Text Sample Text Sample
Text<P>
Sample Text Sample Text Sample Text Sample Text Sample
Text
<HR>
Sample Text Sample Text Sample Text
</BODY>
</HTML>
What the Tags mean:
Any web page starts with <HTML> and ends with
</HTML>. All the rest of the code is inserted between
these two tags.
Directly following is the <HEAD> and
</HEAD> tags. Inserted within these two are the
<TITLE> and </TITLE> tags, where you
specify in between a name for the Web Page you are creating which
will appear in the title bar of the browser window.
The rest of the texts and tags of the page are inserted between
the <BODY> and </BODY> tags which
so-can-say contain the BODY of the web page.
Other single tags include:
-the <BR> tag which inserts a line break;
-the <P> tag which inserts a paragraph break;
-to insert a link, you use the <A HREF="(location of the
web page to be linked)">text to appear on the
page</A> tags;
-and finally, the <HR> tag inserts a horizontal rule in
the page, just like this one: