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:
- Decide on the content: title, text, caption, etc.
- Wrap the content in the appropriate element tags: headings, paragraphs, list items, etc.
- 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
- Previous
- Next