All subjects · Information Technology · WIT12 3 hour practical exam on web development with HTML, CSS and JavaScript
Structuring text and lists
Edexcel IAL Information Technology · WIT12 3 hour practical exam on web development with HTML, CSS and JavaScript
Headings, paragraphs, breaks, emphasis and lists give text its structure (spec 7.2.3 and 7.2.4).
Text structure and formatting (7.2.3)
- Headings
<h1>to<h6>give a hierarchy: one h1 for the page title, h2 for main sections, h3 inside those, without skipping levels. Screen reader users jump between headings. <p>is a paragraph.<hr>is a thematic break: a change of topic between paragraphs (shown as a line).<br>is a line break inside text such as an address or a poem; do not use it to add space.<em>is emphasis (stress that changes the meaning, shown in italics) and<strong>is importance (shown in bold). Screen readers can change their voice for these, which is why they are preferred to i and b.<article>is self-contained content (a news story, a blog post) and<section>is a themed group of content, usually with a heading. These are covered further in the semantic web lessons.
Lists (7.2.4)
<ul>
<li>Swimming</li>
<li>Tennis</li>
</ul>
<ol start="3" type="A">
<li>Warm up</li>
<li>Main set</li>
</ol>
<dl>
<dt>Lane</dt>
<dd>A marked section of the pool for one swimmer.</dd>
</dl>- Unordered list
<ul>: bullet points, order does not matter. - Ordered list
<ol>: numbered. The start attribute sets the first number and type sets the style: 1 (default), A, a, I or i. Above, the items are labelled C and D. The reversed attribute counts down. - Description (definition) list
<dl>: pairs of terms<dt>and descriptions<dd>. - Only li elements go directly inside ul and ol.
Nested lists
A nested list goes inside an li, not directly inside the ul:
<ul>
<li>Racket sports
<ul>
<li>Tennis</li>
<li>Badminton</li>
</ul>
</li>
<li>Swimming</li>
</ul>The browser indents the inner list and uses a different bullet style. Dropdown navigation menus are often built from nested lists.
Worked example
Write the HTML for a numbered list of three steps, Check in, Change and Swim, numbered with lower-case Roman numerals starting at ii.
- Numbered, so ol.
- Lower-case Roman numerals: type="i". Start at ii, which is the number 2: start="2".
- Each step is an li.
Answer: ```html <ol type="i" start="2"> <li>Check in</li> <li>Change</li> <li>Swim</li> </ol> ```
Check yourself
- An ordered list has `<ol start="4" type="a">`. How is its first item labelled?
- d
- 4
- a
- D
Show answer
d. type="a" gives lower-case letters and start="4" begins at the fourth letter: d.
- Which element holds a term in a description (definition) list? Type the element name.
Show answer
dt. dt is the term and dd its description, inside dl.
- Where must a nested list be placed?
- Inside an li element of the outer list
- Directly inside the outer ul, between two li elements
- After the closing tag of the outer list
- Inside a dt element
Show answer
Inside an li element of the outer list. Only li elements may be direct children of ul or ol, so the inner list goes inside an li.
- Which element marks text as having strong importance?
- `<em>`
- `<b>`
- `<i>`
- `<strong>`
Show answer
`<strong>`. strong marks importance; em marks stress emphasis. b and i are only visual styles with no extra meaning.
- What does the hr element represent in HTML5?
- A heading row in a table
- A thematic break, such as a change of topic between paragraphs
- A hyperlink reference
- A line break inside an address
Show answer
A thematic break, such as a change of topic between paragraphs. hr is a thematic break; br is a line break.
- Why should headings be used in order (h1, then h2, then h3) rather than chosen for their size?
Show answer
Headings give the page a structure: screen reader users navigate by heading level, and search engines use them to understand the content.. Heading levels describe the structure, not the look (CSS controls size). Assistive technology and search engines rely on the hierarchy.
Sources
- Pearson Edexcel International Advanced Subsidiary/Advanced Level in Information Technology specification (first teaching 2018), Unit 2 Topics 7 to 11
- Pearson qualifications: Edexcel International Advanced Level Information Technology (2018)
Last updated 8 November 2026. Spotted a mistake? Tell us.