JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

String.sub() Method

Name

String.sub() Method---make a string a subscript with <SUB>

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

string.sub()

Arguments

None.

Returns

A copy of string, enclosed within <SUB> and </SUB> HTML tags.

See Also

"String", "String.sup()"


Previous Home Next
String.strike() Book Index String.substring()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell