1. Computing

Discuss in my forum

<sub></sub>

By , About.com Guide

SUB description:

The SUB tag turns the enclosed text into subscript. Text that has been subscripted is lowered slightly below the baseline to appear below the surrounding text. You can also achieve similar results using the vertical-align: sub; style property.

SUB Web Browser Support:

HTML Versions

SUB Attributes:

SUB End Tag:

</sub> REQUIRED

Contents:

CDATA Usually text. The following tags are valid within the SUB tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, tt, u, var

SUB Valid Context:

The SUB tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

SUB Usage:

standard subscript

The chemical code for water is H<sub>2</sub>O.

SUB Special Notes:

  • This tag is most often used in scientific notation.
  • The font size of SUB tag text is the same as the parent unless you’ve changed it implicitly.

More SUB Information:

Related HTML Tags

©2013 About.com. All rights reserved.