
The source codes of a typical HTML document may be as follows:
<HTML> <HEAD>
<TITLE>Enter the Page Title Here</TITLE>
</HEAD> <BODY>
The main contents of the HTML document should be entered here!
</BODY> </HTML> |
Click here to review how
the above document appears in a Web browser.
You may select Source from
the View menu of your Web browser to review the HTML
source code.

<HTML>
</HTML>
- The <HTML> and
</HTML> tags enclose
and declare the start and the end of an HTML document.
- An HTML document consists of two parts: the Head
and the Body.
<HEAD>
</HEAD>
- The <HEAD> and
</HEAD> tags enclose
the Head of the HTML document.
- The Head section tells the Web browser what special information should
be made available about the page, and what the document should be called
in the Title Bar of the
Web browser window.
- Text contained in the Head section will
not be displayed as part of the document in a Web browser.
<TITLE>
</TITLE>
- Text enclosed with the <TITLE>
and </TITLE> tags
will be put in the Title Bar
of the Web browser window.
<BODY>
</BODY>
- The <BODY> and
</BODY> tags enclose
the Body of the HTML document,
where the rest of the Web page should be entered.
- Only the contents in the Body section
will be displayed in a Web browser.
 
|