Complete Technology Solutions, Web Design, Management, Maintenance   
   
 

 Complete Technology Solutions
  - VAR - Variable


      FAQ - Contact Us

-- VAR - Variable --
Syntax <VAR>...</VAR>
Attribute Specifications
Contents Inline elements
Contained in Inline elements, block-level elements

The VAR element is used to markup variables or program arguments. Visual browsers typically render VAR as italic text, but authors can suggest a rendering using style sheets. Since VAR is a structural element, it carries meaning, making it preferable to font style elements such as I when marking up variables.

Example:

<P>Versions of HTML are typically numbered in an <VAR>x</VAR>.<VAR>x</VAR> format.</P>

Back to the Top

-- More Information --

Click Here for InfiniteSurf.com Homepage