<var> tag in HTML
The <var> stands for variable, the <var> tag is used to defines a variable in an HTML. The <var> element display the values of font-style (italic) by default.
Important Description
- The <var> element is a phrase tag.
- Open and close tag required of <var>.
Example of <var> tag
Result Look Like
This is a variable paragraph
<var> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<var> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Event Attributes