HTML var element defines variable and is used to display programming or mathematical variables.
<var>Content</var>
Or
<tag><var>Content</var></tag>
You can apply var element to any element and use any where within a HTML document.
Var is a pair tag and output of var element is italic text like you can see in above example.
Open notepad or any other text editor, follow the following points.
save file with name task.html or task.htm and then open it using any browser and see results.
Don't forget var is non empty element which means it always comes in pair.