Using Two-Tag Elements

Most HTML elements consist of two tags: and opening tag and closing tag, with related content wrapped in-between.

General formula for an HTML element:

<tagname>...content...</tagname>

Your job then becomes a three-step process:

  1. Decide on the content: title, text, caption, etc.
  2. Wrap the content in the appropriate element tags: headings, paragraphs, list items, etc.
  3. Decide where on the page each element will lie: titling the page, third paragraph down, etc.

This process is part of the page structuring process.


html elements tags