Click to return to the DHTML, HTML     
userProfile Object     WBR Element | WBR Object     DHTML Objects    
Web Workshop  |  DHTML, HTML & CSS

VAR Element | VAR Object


Renders text in a small fixed-width font.

HTML Syntax

<VAR
    CLASS=classname
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS 
    STYLE=css1-properties
    TITLE=text
    event = script
>

Remarks

The VAR element is an inline element and requires a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Styles

Example

This example uses the VAR element to render the word "filename" in a small fixed-width font.

Enter the <VAR>filename</VAR> in the dialog box.


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.