Notice:
The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

sub

< html‎ | elements
Jump to: navigation, search

sub

This article is Ready to Use.

W3C Recommendation

Summary

Defines subscript text. Subscript text appears half a character below the baseline.


Overview Table

DOM Interface HTMLElement

This element must be used only to mark up typographical conventions with specific meanings. For the purely visual formatting of content to your liking, use CSS.

Examples

This example uses the SUB element to change some of the text to a subscript font.

(X<SUB>1</SUB>,Y<SUB>1</SUB>)



Related specifications

Specification Status Related Changes
HTML 5.1 W3C Working Draft
HTML 5 W3C Recommendation
HTML 4.01 W3C Recommendation

See also

Other articles

Related pages (MSDN)

  • sup

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]