Saturday, August 30, 2008

Structure of HTML document


Structure of HTML document


The basic structure of HTML document is like that :

< HTML>
< HEAD>
....Your Text.... }------> Heading Section
< /HEAD >

< BODY>
....Your Text....}--------> Actual Text
< /BODY >
< /HTML >

In every HTML document, and tags indicate the begining and end of the document respectively. These tags inform the browser that the document is an HTML file. All other HTML tags must be written within these tags. The v document can be divided into two sections:

1-Header Section
2-Body Section

Header Section

and tags identify the heading or title of document. The text between these tags appears as title in the browser's window. Its length should not be more than 60 characters.

Body Section

The body of an HTML document contains the text that is displayed on a web page. The body section is enclosed within and tags. It gives a description of the document layout and structure.

No comments: