Lesson-2 (Head and Body Sections)

  2.1 Header Section

Every HTML document must have a head section which begains with the tag <HEAD> and ends with </HEAD>. The following are some important compontents of the header section.

  2.2 Title

The tile is the heading that appears as the title of the windows.It is enclosed between the tags <TITLE> and </TITLE>.

  2.3 Prologue

A prologue is only a comment which can tell about the HTML version that is adopted for preparing the document.A prologue is shown as follows:-

<! Doctype HTML 3.0>
  2.4 Links

The link tag can be used for following purposes:-

  1. Previous and Next
  2. Banner
  3. Base Element
  2.5 Colorful Web Page

Lately, people have bean appreciating anything only if it is colorful and neat. A Web Page can also be made colorful by using three attributes in the <body> tag.They are:-

  2.6 Comment Lines

HTML programming language has the facility to include comment lines for the reference of programmer. The comment will not appear in the web page.We include comments using the <!> tag. The general format is:-

<! Comment......>