HTML5 > Elements of HTML

Subscript in HTML5

How to use subscript in HTML


Subscript:

Subscript is used to align the text as below in the paragraph.

<h2>Paragraph with subscript</h2>
    <p>dotnetfunda is a <sub>online tutorial</sub> which is used to share and learn the technologies.
     TechFunda is used to learn technologies step by step manner</p>

In the above code snippet we have defined subscript. subscript is used to align the text as below  in the paragraph.

output

 

 Views: 732 | Post Order: 12



Write for us