The basic structure of the HTML document consists of:

  1. a doctype: specifies the document type definition and flavor (strict or transitional).
  2. a root - the html tag set that encloses the rest of the document
  3. a head - text that is displayed in the browser's title bar, plus linked elements like css files.
  4. a body - the page content
To see sample template click here.

HTML tags can:

The head section contains:

The body contains content consisting of text elements such as:

Escaping Special Characters:

Certain special characters such as <, >, &, and the non-breaking space need to be coded with an escape sequence. These are written as &lt, &gt, &amp, and &nbsp.

Inline formatting and emphasis:

Text can be italicized by enclosing em tags or emboldened by using strong tags. Code tags display text in a fixed-specing font such as Courier, although special charactes still need to be escaped.