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:

<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

Text Formatting Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example Tutorials Example
Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy