HTML Text Format

It is a process of formatting text for better look and feel of the text. There 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 wit 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
<html>  
<head>  
<title>Text Formatting Example</title>  
</head>     
<body>  
<b>Tutorials And Example</b>  
<strong>Tutorials And Example</strong>  
<i>Tutorials And Example</i>  
<em>Tutorials And Example</em>  
<mark>Tutorials And Example</mark>  
<b>Tutorials<small>And</small> Example</b>  
Tutorials <del>And</del> Example  
Tutorials <ins>And</ins> Example  
Tutorials <sub>And</sub>Example  
Tutorials <sup>And</sup>Example</sup>  
</body>     
</html>
Output:
Tutorials And Example
Tutorials And Example
Tutorials And Example
Tutorials And Example
Tutorials And Example
TutorialsAnd Example
Tutorials And Example
Tutorials And Example
 Tutorials AndExample
Tutorials AndExample