Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML <var> Tag

  • Difficulty Level : Basic
  • Last Updated : 17 Mar, 2022

It is a phrase tag and used to specify the variable in a mathematical equation or in a computer program. The content of this tag is displayed in an italic format in most browsers.


<var> Contents... </var>



<!DOCTYPE html>
        <h2><var> Tag</h2>
        <!-- HTML var Tag is used here-->
        <var>GeeksforGeeks Variable</var>


Supported Browsers: 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!