Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q102 What is span?

You are here: irt.org | FAQ | DHTML | Q102 [ previous next ]

Its a new HTML tag supported by both Netscape Navigator 4 and Internet Explorer 4. It assists cascading style sheets, in that along with <DIV> it allows you to specify a portion of the output that can be referenced either by style sheets or the browsers object model.

You could use a style as:

SPAN.idname { color:#123456; }

Or you can in Internet Explorer 4 change the color programmatically:

document.all[idname].color = "#123456";

©2018 Martin Webb