HTML <var> tagHTML <var> tag is a phrase tag which is used to define the variable for a mathematical equation, or in the programming context. The content within <var> tag renders in italic font in most of the browsers, but it can be overridden using appropriate CSS. Following are some related elements of <var> tag, which can also be used for the same context:
SyntaxFollowing are some specifications about the HTML <var> tag
ExampleTest it NowOutput: Attribute:Tag-specific attributes:The <var> tag does not contain any specific attribute in HTML. Global attribute:The <var> tag supports the Global attributes in HTML. Event attribute:The <var> tag supports the Event attributes in HTML. Supporting Browsers
Next TopicHTML video Tag
|