ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

40-HTML Formatting Tags

html – Horizontal Rule <hr />

Horizontal rule tag <hr />  doesn’t have an ending tag just like the line break tag <br />. The  <hr /> tag  provides a straight line across the screen.

 

Example:

<p>ItSoucecode<br />
<hr />
We Exist to Provide Best Quality and 100% Free Source Code and Tutorials </p>

 

html – code <code>

The code tag <code> specifies the text as a computer code and it changes in  size, font face, and letter spacing to provide computer code text .

 

Example:

 We Exist to Provide Best Quality and 100% Free Source <code>Code</code> and Tutorials.

 

html – <sup> Superscript

Superscripted text is commonly used as an exponent in mathematical operations.

 

Example:

We Exist to Provide Best Quality and 100% Free Source  Code and  <sup>Tutorials </sup>
2<sup>4</sup> = 16
14<sup>x</sup>

 

html – Subscript <sub>

The subscript tags provides subscripted text onto your websites. It is commonly used in chemical elements symbols.

 

Example:

We Exist to Provide Best Quality and <sub>100%</sub> Free Source  Code and Tutorials.

O<sub>2</sub> – Oxygen
H<sub>2</sub>0 – Water

html – Strikethrough <del>

Strikethrough tag <del> provides crossed out text into the web site.

 

Example:

<del>scratched</del> out text
<del>Eat Dinner</del>
<del>Brush Teeth</del>
<del>Go to bed</del>

 


Result:

scratched out text

Eat Dinner

 

Brush Teeth

 

Go to bed

Facebook Comments

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked *

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!