Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

<sub></sub>

By Jennifer Kyrnin, About.com

<sub> description:

The <sub> element designates subscript text.

<sub> Web Browser Support:

<sub> Attributes:

<sub> End Tag:

</sub> REQUIRED

Contents:

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, textarea, 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.

More <sub> Information:

Return to XHTML element (HTML Tags) Library

Explore Web Design / HTML

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.