<var> HTML Tag

In this article we will discuss about how to use var Tag in HTML.
  • 1815

The HTML var tag is used to indicate the instance of a variable. It is indicated by <var> tag in HTML. The variable name between the pair of var tag appears in italic font style.

HTML Code:

<html>

<head>

    <title></title>

</head>

<body>

    <code>

        <var>

            width</var>

        = 68%;</code><br />

    <p>

        The var tag is used to indicate the instance of a  "<var>variable</var>"

        The variable is just the temporary storage which can store any kind of value.<p>

</body>

</html> 

Output:

width
= 68%;


The var tag is used to indicate the instance of a "variable" The variable is just the temporary storage which can store any kind of value.

Ask Your Question 
 
Got a programming related question? You may want to post your question here
 
Programming Answers here

 

 

© 2019 DotNetHeaven. All rights reserved.