Computer science · lesson 1 of 4
HTML structure and semantics
A structural unit of HTML represented by a tag and its content.
Learn the ideas
Prerequisites: Basic computer literacy.
Element
A structural unit of HTML represented by a tag and its content.
Semantic markup
Elements chosen for meaning and document structure, not visual appearance alone.
Attribute
Extra information placed on an HTML element.
Document outline
The logical hierarchy created by headings, landmarks and sections.
Worked examples
Which term best matches this description: A structural unit of HTML represented by a tag and its content.
Element is the matching concept in this lesson.
Element
Which term best matches this description: Elements chosen for meaning and document structure, not visual appearance alone.
Semantic markup is the matching concept in this lesson.
Semantic markup
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.