HTML <small> tag

The <small> tag is used to display text as a little smaller than its regular size.

Standard attributes

class, dir, id, lang, style, title, xml:lang

For more information on standard attributes, check out our HTML standard attributes reference page.

Event attributes

onclick, ondblclick, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onkeydown, onkeypress, onkeyup

For more information on event attributes, check out our HTML event attributes reference page.

Example

You want small text? I'll give you some <small>small text</small>! Some people think it's good to have small text on a webpage for it to appear more stylish. <small>I disagree</small>.
Output:
You want small text? I'll give you some small text! Some people think it's good to have small text on a webpage for it to appear more stylish. I disagree.

Tips & notes

It's better to use CSS to style text than text formatting tags like <small>.

Web Reference
  1. CSS reference
  2. RSS reference
  3. HTML reference


© Copyright 2011-2012 Landofcode.com
Terms of use | Privacy policy | Copyright information | Make a donation