Welcome to HTML5-Tutorials

Our site offers a lot of HTML5 learning from absolutely beginning to advanced level.If you want to make a website with HTML,this site will completely guide you a lot.So learn HTML5 syntax and form of coding easily with this website.If you have any doubt,leave a message on us.We will return you so soon.This site includes innumerable number of references you need to do after studying their corresponding elements.

In this page,we will learn about HTML <var> tag.

Use of <var> tag

The <var> tag is used to define a variable.
The texts within the <var> and </var> will be italic style.


Example of <var> tag

    <var> Important texts </var>

Supported Browsers.

<var> Yes Yes Yes Yes Yes

Full Code Example

<!DOCTYPE html>
<p> Linear momentum,<var> p </var> = <var> mv </var> </p>


Linear momentum, p = mv

More Reference

<var> tag is a phrase tag.

Default CSS Properties of <var> tag

var {
font-style: italic;

Some related phrase tag of <var> tag

Tag Notes
<code> It defines computer code.
<em> It defines emphasized texts.
<kbd> It defines a users input or sometimes voice command.
<samp> It defines an output from a system.
<strong> It defines important texts.