All subjects · Information Technology · WIT12 3 hour practical exam on web development with HTML, CSS and JavaScript
Semantic text, figures and search engine optimisation
Edexcel IAL Information Technology · WIT12 3 hour practical exam on web development with HTML, CSS and JavaScript
Semantic elements also describe the meaning of words and phrases, group self-contained figures, and help search engines rank a page (spec 11.1.4 to 11.1.6).
Semantic markup for text (11.1.5)
| Meaning | Element | Example |
|---|---|---|
| Importance | strong | `<strong>Do not run near the pool.</strong>` |
| Emphasis (stress) | em | `I <em>did</em> book the lesson.` |
| Quotations | q (inline, adds quote marks) and blockquote (a longer quotation, with cite for the source URL) | `<blockquote cite="https://example.com/review">...</blockquote>` |
| Abbreviations and acronyms | abbr with title giving the full form | `<abbr title="World Wide Web Consortium">W3C</abbr>` |
| Citations | cite: the title of a creative work | `<cite>The Guide to Swimming</cite>` |
| Definitions | dfn: the term being defined | `<dfn>Breaststroke</dfn> is a swimming stroke...` |
| Addresses | address: contact information for the author or owner | `<address>1 River Road, Leeds</address>` |
| Marks | mark: text highlighted for relevance, such as search terms | `Results for <mark>yoga</mark>` |
Screen readers can announce these meanings; b, i and u only change the look
Self-contained content (11.1.6)
<figure>
<img src="images/pool-plan.png" alt="Plan of the pool showing six lanes and a shallow end">
<figcaption>Figure 1: The new 25 metre pool</figcaption>
</figure><figure> groups self-contained content (an image, diagram, code listing or chart) that is referred to from the main text and could be moved elsewhere. <figcaption> gives its caption, linking the caption to the content for assistive technology.
Semantic code and SEO (11.1.4)
Search engine optimisation (SEO) is improving a page so it ranks higher in search results. Semantic HTML helps because search engine crawlers use the structure to work out what the page is about and which content matters:
- a descriptive title and meta description (shown in results)
- one h1 with the main topic, then a logical heading hierarchy containing key words
- main and article mark the core content; nav, aside and footer mark supporting content
- alt text describes images; descriptive link text
- valid code, fast loading and a mobile-friendly responsive design, which search engines also reward
Keyword stuffing (repeating words unnaturally) is penalised.
Worked example
Mark up this sentence semantically: 'The W3C says accessibility is essential.' W3C should show its full name (World Wide Web Consortium) and 'essential' is stressed.
- An abbreviation: abbr with a title.
- Stress emphasis that changes the meaning: em.
Answer: ```html <p>The <abbr title="World Wide Web Consortium">W3C</abbr> says accessibility is <em>essential</em>.</p> ```
Check yourself
- Which element shows the full form of an abbreviation when the user points at it?
- `<dfn title="...">`
- `<cite title="...">`
- `<mark title="...">`
- `<abbr title="...">`
Show answer
`<abbr title="...">`. abbr with a title attribute gives the expansion.
- Which element highlights search terms within results?
- `<strong>`
- `<mark>`
- `<em>`
- `<q>`
Show answer
`<mark>`. mark represents text highlighted for its relevance.
- Which element gives a caption to a figure? Type the element name.
Show answer
figcaption. figcaption goes inside figure.
- Explain how using semantic HTML can improve a page's search engine ranking.
Show answer
Search engine crawlers use the semantic structure, such as headings, main and article, to understand what the page is about and which content is important, so it can be ranked for relevant searches.. Semantic elements tell crawlers the page's structure and main content, helping them judge relevance and rank it.
- What is the difference between em and i?
- em is bold and i is italic
- i is newer than em
- em gives stress emphasis that screen readers can convey; i only changes the appearance
- em is only for headings
Show answer
em gives stress emphasis that screen readers can convey; i only changes the appearance. em has meaning; i is presentational (or for alternative voice such as foreign words).
- Which element should contain the contact details of a site's owner?
- `<address>`
- `<cite>`
- `<footer-info>`
- `<contact>`
Show answer
`<address>`. address is for contact information. contact and footer-info are not HTML elements.
- Which content is most suitable for a figure element?
- The site's main navigation
- A single word that needs highlighting
- A diagram referred to in the text, with a caption
- The page's copyright notice
Show answer
A diagram referred to in the text, with a caption. figure is self-contained content such as an image, diagram or code listing with a caption.
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.