HTML – 5 b, strong, i, em, mark elements
Do not use them for styling purposes
<p>
Important courses are <b>gym</b> and <b>break</b>
</p>
- bold text. does not have such special semantic information like . It is to draw attention without indicating that it’s more important
- if there is no semantic purpose to use it, then you should use css for styling instead if you want to make the text bold.
<p>
no matter what he says <strong>never answer to him</strong>.
</p>
- Indicates that its contents have strong importance, seriousness or urgency
- Browser render the contents in bold
- It should not be used to apply bold styling
<p>
The term <i>memory</i> describes...
<p>
- indicates that the text is with different semantic meaning that the surroungind text.
- like thoughts, terms from another language, alternative voice or mood
- do not use it for styling purposes
<p>
it contains <em>egg</em>
<p>
- emphasized text, represents stress emphasis of its contents. Often limited to the words that affects the meaning of the sentence
<p>
Several species of <mark>snails</mark>
<p>
– represents a highlighted text for notation/reference purposes