Variable Object
The Variable object represents an HTML <var> element.
Access a Variable Object
You can access a <var> element by using getElementById():
Create a Variable Object
You can create a <var> element by using the document.createElement() method:
Standard Properties and Events
The Variable object supports the standard properties and events.
Related Pages
HTML tutorial: HTML Text Formatting Elements
HTML reference: HTML <var> tag