| VAR |
|
| The VAR command is used to declare variables and is most used when describing instances where the browser is expecting user input. For example: |
|
| <P>
To copy a file in DOS, type
<SAMP>COPY <VAR>FILE1 </VAR>
<VAR>FILE2</VAR></SAMP>
and press the ENTER key.
</P> |
|
| VAR Attributes: |
|
| CLASS=" ... " |
| This attribute indicates the style 'class' applicable to the tag to which it has been assigned, the style 'class' being a function of a style sheet. For example, assume the style class 'relaxed' includes text with a font size of 8, and the style class 'active' includes text with a font size of 12. Using the CLASS="relaxed" attribute with a tag will cause the text within that tag to be displayed with a font size of 8. Using the CLASS="active" attribute with a tag will cause the text within that tag to be displayed with a font size of 12. |
|
| ID="n" |
| The ID attribute is used to assign a unique ID selector (identification) to the tag in which it is invoked. A style may be assigned to that ID, which will effect only that one instance of the attribute. |
|
| STYLE=" ... " |
| Used to specify which style sheet commands to apply to the instance of the STYLE attribute invoked within the tag. |
|
| TITLE=" ... " |
| The TITLE attribute is used to display a note or information in a popup window pertaining to the object to which it was assigned. The popup window is invoked by holding the mouse pointer over the object. |
|
This tag also accepts the following Event Handlers:
onClick
onDblClick
onDragStart
onHelp
onMouseDown
onMouseUp
onMouseOver
onMouseMove
onMouseOut
onKeyPress
onKeyDown
onKeyUp
onSelectStart |