Typical HTML structure
HTML = HyperText Markup Language
- Hierarchical structure
- Element =
<tagname attribute="a" other="b">content</tagname>- Start tag:
<tagname> - Attributes:
attribute="a" other="b" - Content:
content - End tag:
</tagname>
- Start tag:
- Elements nest inside elements (as content)
- Nested elements = “children”