HTML SMALL Tag || Small Tag in HTML
×

HTML SMALL <small> Tag

1947

HTML SMALL <small> tag used to decreases the text font size by one size smaller the document's base font size. (Such as large to medium, medium to small, etc.). The HTML <small> tag usually contains the items of secondary importance such as copyright notices, side comments, or legal notices, etc.

The <small> tag comes in pairs,the content is written between opening (<small>) and closing (</small>) tags.

Syntax:

<small> content goes here.. </small>

Program:

<!DOCTYPE html>
<html>
<head>
<title>HTML SMALL Tag</title>
</head>
<style>
  .normal
  {
   color: green;
  }
  .smaller
  {
   color: blue;
  }
  .smallest
  {
   color: red;
  }
</style>
<body>
 <h2>Example of small tag</h2>
 <p class="normal">This is normal font size....
   <small class="smaller">It is smaller than previous...
   <small class="smallest">It is smallest.</small>
   </small>
 </p>
</body>
</html>

Output:




Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments