var

< html‎ | elements
Jump to: navigation, search

var



Summary

Defines a variable.


Overview Table

DOM Interface HTMLElement

Examples

This example uses the VAR element to render the word "filename" in italic type.

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

Notes

Remarks

The actual formatting of a VAR element is determined by the browser. Windows Internet Explorer renders the VAR element in italic type. The actual formatting of a VAR element is determined by the mode used to render it.

Standards information


HTML information

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]