×
FREE ASSISTANCE FOR THE INQUISITIVE PEOPLE
Tutorial Topics
X
softetechnologies
Elements: Horizontal Line Elements: LIST
Elements: Text Formatting - HTML 5
3174    Arnab De    04/05/2017

Introduction

To formatting the text on web page HTML use the following tag.

  • <b> : Bold Text
  • <em> : Emphasized Text
  • <strong> : Strong Text
  • <i> : Italic Text
  • <sup> : super-scripted Text
  • <sub> : sub scripted Text
  • <del> : struck-through Text
  • <code> : Computer Code Text
  • <pre> : predefine text
softetechnologies

Now, we write a simple code and show the output.

<html>
<body>
<p>It is an example of <b>Bold Text</b></p>
<p>It is an example of <em>Emphasized Text</em></p>
<p>It is an example of <strong>Strong Text</strong></p>
<p>It is an example of <i>Italic Text</i></p>
<p>It is an example of <sup>super-scripted Text</sup></p>
<p>It is an example of <sub>sub scripted Text</sub></p>
<p>It is an example of <del>struck-through Text</del></p>
<p>It is an example of <code>Computer Code Text</code></p>
</body>
</html>

html-text-format
HTML Text Format
softetechnologies

Example

 

H2O  :  H<sub>2</sub>O

A2  :  A<sup>2</sup>

Elements: Horizontal Line Elements: LIST
softetechnologies
Author Details
Arnab De
I have over 16 years of experience working as an IT professional, ranging from teaching at my own institute to being a computer faculty at different leading institute across Kolkata. I also work as a web developer and designer, having worked for renowned companies and brand. Through tutorialathome, I wish to share my years of knowledge with the readers.
Enter New Comment
Comment History
No Comment Found Yet.
Sri Sri Ramakrishna Paramahamsa
One cannot be spiritual as long as one has shame, hatred, or fear.
Sri Sri Ramakrishna Paramahamsa
2856
38.7
Today So Far
Total View (Lakh)
softetechnologies
01/01/2018     34306
28/06/2017     30940
26/05/2018     30853
02/08/2017     28850
25/06/2018     26167
15/05/2017     24598
01/08/2017     23447
06/07/2017     23179
21/04/2018     19206
14/07/2017     18464
softetechnologies