HTML TRAINING · LESSON 4 OF 4 · 3 MIN READ

Combine and check a small HTML card

Review meaning, nesting and the complete brief.

Understand the idea

Several elements can form a useful small component. A containing section groups related content, while its heading, paragraph and link each serve a purpose. Valid nesting and clear content are separate from how a card looks. A simple component is a good place to practise reading a specification carefully.

Work through it

List the required elements, wording and attributes from the task. Write the fragment and check each requirement. Keep closing tags in the correct order and avoid adding unrelated markup. In DigiSkill, the checker reads structure without executing your submitted code; it is not a complete HTML validator.

SEE IT IN CONTEXT

Worked example

<section>
  <h1>Community Coding Hour</h1>
  <p>Try a beginner-friendly activity together.</p>
  <a href="https://example.org/events">See event details</a>
</section>

The fragment groups a heading, description and useful link. The exercise has its own required content, so use this example to understand the structure and then follow the exercise brief.

Common mistakes to avoid

  • Closing a container before its content.
  • Meeting only one requirement and ignoring the others.
  • Treating a passed focused check as a full site audit.

NOW HAVE A GO

Build a student event card

Apply the idea in the linked activity. Follow its own brief and values; examples in this lesson are illustrative.

Try the practice activity →Download the practice starter
About the linked activity

The linked HTML activity checks one event-card brief as structure. It does not run submitted scripts, publish a website or cover every HTML element. The four lessons build toward the same card activity.

Reading marks are self-reported and saved only in this browser.

0 of 4 lessons marked as read

Keep learning: Reference documentation ↗

YOUR LEARNING JOURNEY

Look how far you’ve come.

Your progress is saved in this browser. Clearing browser data removes it.

Course reading progress

Reading marks are separate from completed practice activities.

Practice activity progress

Manage saved progress

This removes your completed-challenge history from this browser.