StudyBrixFree worksheets, study guides and courses

Computer science · University

HTML structure and semantics

A structural unit of HTML represented by a tag and its content.

Make a worksheet

Prerequisites

Basic computer literacy.

Study notes

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

  1. Which concept would you apply first in a situation where extra information placed on an HTML element.

    1. Attribute
    2. Element
    3. Document outline
    4. Semantic markup
  2. Name the concept described as: The logical hierarchy created by headings, landmarks and sections.

  3. Which statement about Element is most accurate?

    1. Extra information placed on an HTML element.
    2. Elements chosen for meaning and document structure, not visual appearance alone.
    3. A structural unit of HTML represented by a tag and its content.
    4. The logical hierarchy created by headings, landmarks and sections.
  4. Explain one important difference between Element and Semantic markup.

Answers and marking guidance

Answers and marking notes
  1. Attribute

    The scenario directly calls for Attribute.

  2. Document outline

    The intended concept is Document outline.

  3. A structural unit of HTML represented by a tag and its content.

    The definition in the lesson notes gives the required condition.

  4. 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.

    Credit a clear distinction using both definitions and an appropriate example if supplied.

Further reading and review references

These are reference links, not copied exercises, institutional endorsement or proof of independent review.

AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.