HTML var tag

html var tag

Definition of var tag

HTML var tag is used to show mathematical expression including variables.

What is HTML5 var tag

Mathematical expression is, the equations we use in mathematics. The equations like quadratic, linear, etc. These equations contains some variables. We use this tag to show those variable for the equations. This is Useful when you want to put some mathematical terms.


You can define the variables using this tag. Put variables in the var start and end tag.

Let’s see the example for this:


The mathematical expression of linear equation is:
X+Y = 6
3X4Y = 9

This is the example of the mathematical expression of the linear equation. The mathematical equation contains two variables X and Y. In the example, include the variables inside the HTML var tag. The output of the example is a mathematical expression.

var tag as a HTML5

var tag is widely used for showing mathematical expressions. It is HTML5 element.

Resources and References for HTML var tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Get FREE Access to Toolkit and Resources that we are using in Tutorialdeep that Every Professional Should Have! in one handy PDF.

Download Link Will be Send to Your Email id