HTML VAR <var> Tag
0 1827
The HTML VAR <var> tag is a phrase tag. The <var> element is used to identify a variable in a mathematical equation or computer program.
Text marked with <var> tags is displayed in an italics font style by most browsers.
Syntax:
<var> ... ... </var>
Program:
<!DOCTYPE html> <html> <head> <title>HTML Var Tag</title> </head> <body> <h2>Example of Var Tag</h2> <p>The equation for any straight line can be expressed in the formula: <var>y</var> = <var>mx</var> + <var>b</var>.</p> </body> </html>
Output:
Share:
Comments
Waiting for your comments