Semantic HTML tree
Why is Semantic HTML important for Artificial Intelligence?
A language model does not see the visual layout. It maps relationships from the tags. Article marks the document, a list marks a set, and a description list marks a term and its definition. A clean tree is what the model can interpret.
Tags that carry a role
- article wraps the main explanation on the page.
- h1 names the topic and h2 names the question, in that order.
- ul is an unordered set, and ol is a sequence.
- table holds a comparison, with a header cell for each column.
- dl pairs a term with its definition.
CSS can change how those tags look. It does not change what they mean. A div that exists only to apply a color tells the model nothing.
Related terms
Request a free AI-extraction audit
Send one public URL. A person reads the HTML your server returns and writes back what AI crawlers can quote, and what they never see.