Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 2: HTML Essentials: Elements and Lists!
Instruction
Practical Usage of Text-Level Semantics
Using these semantic elements enhances accessibility, as screen readers and other assistive tools can interpret the significance of each type of text. Here's a summary of when to use each element:
Element | Purpose |
---|---|
<span> |
For styling or grouping inline elements without semantics. |
<b> |
To draw attention for utilitarian purposes, like labels or keywords. |