Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML var Tag

HTML var Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <var> tag

HTML <var> tag is a phrase tag which is used to define the variable for a mathematical equation, or in the programming context.

The content within <var> tag renders in italic font in most of the browsers, but it can be overridden using appropriate CSS.

Following are some related elements of <var> tag, which can also be used for the same context:

  • <code>: To determine the computer programming code.
  • <kbd>: To determine the keyboard input.
  • <samp>: To determine the sample output.



Following are some specifications about the HTML <var> tag

Display Inline
Start tag/End tag Start and End tag
Usage Formatting


<!DOCTYPE html>
<title>HTML var tag</title>
<h2>Example of var tag</h2>
<p>Following is equation for distributive law</p>
Test it Now


HTML var tag


Tag-specific attributes:

The <var> tag does not contain any specific attribute in HTML.

Global attribute:

The <var> tag supports the Global attributes in HTML.

Event attribute:

The <var> tag supports the Event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
Next TopicHTML video Tag

Related Links:

Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf