HTML sup sub tag


superscript: <sup> content </sup>
subscript: <sub> content </sub>

sup tag display the in higher and smaller than the main span of text.

sub tag display the in lower and smaller than the main span of text.

Often used in chemical and mathematical expressions


example

superscript : content <sup>top</sup><br /> 
subscript : content <sub>bottom</sub> 
Result :
superscript : content top
subscript : content bottom




Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook