Horje

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

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

index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
<style>
small { 
  font-size: smaller;
}
</style>
</head>
<body>

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

<small>Some smaller text</small>

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

</body>
</html>

Output should be:

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




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