HTML Text Format
It is a process of formatting text for a better look and feel of the text. a lot more semantic elements to cover in this area, and we’ll look at a lot more in our Advanced text formatting ,HTML Text Format are many ways to format tags using different tags such as:
<b>
-Bold text: It defines Bold text without any importance.
<strong>
-Important text: It defines Strong text with added strong importance.
<i>
-Italic text: This element shows Italic text.
<em>
-Emphasized text: It emphasizes the text with added semantic importance.
<mark>
-Marked text: It marks the text.
<small>
-Small text: Element defines smaller text.
<del>
-Deleted text: Element defines remove text.
<ins>
-Inserted text: Element defines added text.
<sub>
– Subscript text.
<sup>
-Superscript text.
Example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<html> <head> <title>Text Formatting Example</title> </head> <body> <b>Tutorials Example</b> <strong>Tutorials Example</strong> <i>Tutorials Example</i> <em>Tutorials Example</em> <mark>Tutorials Example</mark> <b>Tutorials Example</b> <small>Tutorials Example</small> <del>Tutorials Example </del> <ins>Tutorials Example</ins> <sub>Tutorials Example</sub> <sup>Tutorials Example</sup> </body> </html> |
Output