Skip to content
Related Articles

Related Articles

HTML | <var> Tag
  • Difficulty Level : Basic
  • Last Updated : 18 Jul, 2019

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


<var> Contents... </var>


<!DOCTYPE html>
        <title>var tag</title>
        body {
        .gfg {
        .geeks {
        <div class ="gfg">GeeksForGeeks</div>
        <div class = "geeks"><var> Tag</div>
        <var>GeeksforGeeks Variable</var>


Supported Browsers: The browser supported by <var> tag are listed below:

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