Tuesday, 24 July 2012

Widgets

Add Subscript , Superscript and Del in HTML

If you want to add subscript or superscript in HTML then it is not difficult. The example of Superscript is GoogleTM and the example of Subscript is H2O. These are the codings:


Superscript HTML Coding:


Google <sup>TM</sup>

Subscript HTML Coding:


H<sub>2</sub>O

For your understanding, If you want to apply subscript or superscript to any word, then keep the word between <sup></sup> or <sub></sub> tags.


Now the coding for Del is:


<del>$10</del>$7.5

Format Example:


<del>Old Price $10</del>New Price $7.5
Old Price $10New Price $7.5

SHARE THIS POST   

Author: Muhammad Faheem Usama
Muhammad Faheem Usama is a professional blogger, web designer/ developer and Founder of BHD. He belongs to Read More →

0 comments :