Java Reference
In-Depth Information
HTML Methods
(continued)
Method
Introduced
Description
link(url)
JavaScript 1.0
Encloses the string in
<a>
…
</a>
tags with the
href
attribute assigned a parameter value.
small()
JavaScript 1.0
Encloses the string in
<small>
…
</small>
tags.
strike()
JavaScript 1.0
Encloses the string in
<strike>
…
</strike>
tags.
sub()
JavaScript 1.0
Encloses the string in <sub>…</sub> tags.
sup()
JavaScript 1.0
Encloses the string in <sup>…</sup> tags and causes
a string to be displayed as superscript.