Horje

How to set Default CSS Settings HTML <var> Tag for coding view

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

index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
<style>
var { 
  font-style: italic;
}
</style>
</head>
<body>

<p>A var element is displayed like this:</p>

<var>Variable</var>

<p>Change the default CSS settings to see the effect.</p>

</body>
</html>

Output should be:

How to set Default CSS Settings HTML <var> Tag for coding view




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