HTML5 > Structures

Variable in HTML5

How to declare a variable in HTML


Variable in html is used define the variable, we use <var> tag to define a variable  

    <p>Var is used to define a variable</p>

In the above code snippet we have defined the variable using <var> tag, we have given the value in the var tag as TechFunda, it displays the output in variable format



 Views: 358 | Post Order: 82

Write for us