Bitpath

Lesson 2 · Unit 01

Meaning

Elements chosen for what content is, not how it looks

13 exercisesabout 3 min

What you practise

  • Headings in order, landmarks (header, nav, main, footer), links against buttons, images with alt, what a screen reader hears

Try a question from this lesson

Pick one

With CSS this looks like a heading over a paragraph. A screen reader user asks for the list of headings on the page. What do they get?

HTML
<div class="title">Menu</div>
<div class="text">Tea, milk, cocoa</div>

The idea

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

Say what it is

Semantic elements name their content: <h1> is a heading, <nav> is navigation, <button> is a button.

Browsers, screen readers and search engines all read those names. A <div> or <span> says nothing, so keep them for grouping things for CSS.

Choose by meaning. Looks are changed later.

HTML
<h1>Menu</h1>
<p>Tea, milk, cocoa</p>

11 more exercises in the app

  • 4× multiple choice
  • 2× true or false
  • 1× match the pairs
  • 1× order the lines
  • 2× type the answer
  • 1× fill the blanks

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy