Horje

How to set Default CSS Settings on HTML <var> Tag

Most browsers will display the <var> element with the following default values.

index.html
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>

Output should be:

How to set Default CSS Settings on HTML <var> Tag




Type :
html
Category :
Web Tutorial
Sub Category :
HTML Tag
Uploaded by :
Admin