Formatting Tags
Formatting Tags
1. `<b>` Tag
- used for: Displays the content in bold format.
2. `<strong>` Tag
- used for: Displays the content in bold format, and conveys that the
information is important.
3. `<i>` Tag
- used for: Displays the content in italic format.
4. `<em>` Tag
- used for: Displays the content in italic format and adds emphasis, an
alternative to the `<i>` tag.
5. `<u>` Tag
- used for: Underlines the content.
6. `<ins>` Tag
- used for: Underlines the content, an alternative to the `<u>` tag, often
used to indicate inserted text.
7. `<strike>` Tag
- used for: Strikes off (crosses out) the content.
9. `<q>` Tag
- used for: Provides quotations around the content.
- Example: H<sup>2</sup>O
- Example: CO<sub>2</sub>
<p>
<pre>
this is pre tag
hello
hi
bye
</pre>
</p>
</body>
</html>