![]() |
Definition and UsageThe Tip: This tag is not deprecated. However, it is possible to achieve richer effect by using CSS. Also look at:
Browser SupportGlobal AttributesThe Event AttributesThe |
Example:
HTML
<p>The area of a triangle is: 1/2 x <var>b</var> x <var>h</var>, where <var>b</var> is the base, and <var>h</var> is the vertical height.</p>
Most browsers will display the <var>
element with the following default values.
Example:
HTML
<style>
var {
font-style: italic;
}
</style>
<p>The area of a triangle is: 1/2 x <var>b</var> x <var>h</var>, where <var>b</var> is the base, and <var>h</var> is the vertical height.</p>
html var |
How to create HTML <var> Tag | HTML Tag |
How to set Default CSS Settings on HTML <var> Tag | HTML Tag |
Read Full: | HTML Tag |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded: | 3 weeks ago |
Uploaded by: | Admin |
Views: | 44 |
Reffered: https://www.w3schools.com/tags/tag_var.asp