HTML Element <video> Example
The HTML element <var>
is used to define a variable in a programming logic or a mathematical expression.
The content within this element is displayed in italics.
Here is an example that explains the element in action. Click the below link to see the live demo.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example - HTML Element var</title>
</head>
<body>
<p>A sample mathematical expression: <var>y</var> = <var>x</var> + 2</p>
</body>
</html>