HTML Text Formatting | Styling text in HTML

Techno HTML5

Text formatting is used for different type of text designing.
There is various type of formatting tag.

1. <b> Bold tag- The bold tag specified the bold design of tag. It effects on the tag -


We are learning HTML

 
We are learning HTML 
2. <i> Italic- Italic specify the unique format of text.

We are learning HTML
We are Styling text 

3. <tt> A special format of text .

We are learning HTML
We are Styling text 
4. <u> Tag is used to underlining the text.

We are learning HTML
We are Styling text 


5. <font size> the font size is used to given the font size of the text.

We are learning HTML

We are Styling text 

6. <del> tag is used to delete a text like this .


We are Studying learning HTML
We are Studyinglearning HTML

7. <sup> tag is known as super script .

X2+Y2
X2+Y2

8. <sub> tag refers to subscript of text .

X2
X210

9 <basefont> is used to give the color and text font family.
We are learnig HTML

We are learnig HTML
10.

Text format using CSS -


We can use the font format using CSS. It is a very easy method to give the various type of formats to text.
With help of CSS you can specify the various font families, font color etc.

CSS is an easy and useful method to give the design and format all text.
CSS Format

We are learning about text formatting through the CSS .

HTML Text Formatting


<!DOCTYPE>
<html>
<head>
<title>Text format Tags </title>
</head>
<body>



We are learning about text formatting through the CSS .

</body> </head> </html>
Run