HTML Var Tag

HTML VAR TagHTML Var Tag is used to classify creation of an instance of a variable.

In other words we can say that whenever we want to create an instance of a variable in HTML we use the Var Tag.

HTML Var Tag Syntax

Some Variable Here..

HTML Var Tag Example

HTML Var Tag Code Output
<p>We are declaring a variable </p>
<var> counting </var>
We are declaring a variable counting

In the Var Tag example output above, we can see that the name of the variable “counting” is rendered in a different way than the text neighboring it.

Var Tag supports all HTML Global Attributes and HTML Event Attributes.

HTML Var Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Tagged , , , , , , , , , , , , , , . Bookmark the permalink.