StudyBrixFree worksheets, study guides and courses

Computer science · lesson 1 of 4

HTML structure and semantics

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

University8 practice questionsNotes + worked examples

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

Example 1

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

Example 2

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 questions

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

1 Which term best matches this description: A structural unit of HTML represented by a tag and its content.

Show answer and explanation

Element

Element is the matching concept in this lesson.

2 Which term best matches this description: Elements chosen for meaning and document structure, not visual appearance alone.

Show answer and explanation

Semantic markup

Semantic markup is the matching concept in this lesson.

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

Show answer and explanation

Attribute

The scenario directly calls for Attribute.

4 Name the concept described as: The logical hierarchy created by headings, landmarks and sections.

Show answer and explanation

Document outline

The intended concept is Document outline.

5 Which statement about Element is most accurate?

Show answer and explanation

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

The definition in the lesson notes gives the required condition.

6 Explain one important difference between Element and Semantic markup.

Sample answer and marking guidance

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.

7 Give a short example showing how Attribute would be used in practice.

Sample answer and marking guidance

A valid example should demonstrate this idea: Extra information placed on an HTML element.

Credit a relevant scenario that applies the concept rather than merely naming it.

8 Summarize why Document outline matters in the lesson “HTML structure and semantics”.

Sample answer and marking guidance

Document outline matters because The logical hierarchy created by headings, landmarks and sections.

Credit the core purpose, scope and any important limitation from the notes.

Further reading and review references

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