Menu ▼

Previous Next

<sub> :

<sub> tag will be used when some text need to be subscript.

Syntax :

<sub>subscript text here...</sub>


Example :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <p>

        H<sub>2</sub>O -> Water

    </p>

</body>

</html>


Output :
HTML Tutorial

H2O -> Water

Previous Next




Search dotnetlearners.com