small tag (XHTML 1.0)
small text styleThe small tag instructs your browser to render the text with a small font. You don't really have any control of just how small the font is going to be, since it's up to the user agent. In your current browser, it looks like this:
This text is small!
The big tag is very simple to use, and doesn't offer any really interesting attributes:
<small>This text is small!</small>
In most cases, you're better off using CSS on a span tag to decide the size of the text, which can be done with the font-size CSS property.
Attributes
| Attribute | Deprecated | Required | Description |
|---|---|---|---|
| class | space-separated list of classes | ||
| dir | direction for weak/neutral text | ||
| id | document-wide unique id | ||
| lang | language code | ||
| style | associated style info | ||
| title | advisory title |
Events
| Event | Description |
|---|---|
| onclick | a pointer button was clicked |
| ondblclick | a pointer button was double clicked |
| onkeydown | a key was pressed down |
| onkeypress | a key was pressed and released |
| onkeyup | a key was released |
| onmousedown | a pointer button was pressed down |
| onmousemove | a pointer was moved within |
| onmouseout | a pointer was moved away |
| onmouseover | a pointer was moved onto |
| onmouseup | a pointer button was released |
© htmlpedia.net 2008 - 2012