1.0_HTML_doc_Structure
1.0_HTML_doc_Structure
and HTM.
<html lang=“en”>
Structuring An HTML Document
• A semantic
element clearly
describes its meaning
to both the browser
and the developer.
• Examples of non-
semantic elements:
<div> and <span> - Tells
nothing about its
content.
• Examples of semantic
elements: <form> ,
<table> , and <article>
- Clearly defines its
content.
Structuring An HTML Document
Why Use Semantic Tags