Skip to: content, navigation

by Ian Lloyd

small (HTML element)

Spec
Depr. Empty Version
No No HTML 2
Browser support full matrix
IE5.5+ FF1+ Saf1.3+ Op9.2+
Full Full Full Full

Example

Here’s an example of the small element in use (nested):

<p>Mark tried to get out of buying a round of drinks by getting
    progressively quieter as he talked: "Right, I'm off to stretch my
    legs and then get a bag of peanuts ... <small>back in a minute ...
    <small>everyone OK for a drink?</small></small></p>
Type
inline element
Contains
inline elements only
Contained by
block-level elements except pre, inline elements

Description

The small element is a text formatting control that reduces the size of the enclosed text by one size decrement (based on the old HTML font sizes 1 through 7). Each nested small element will further decrement the size.

This element is not deprecated, but is used less frequently now, as there are better methods for controlling text size (such as CSS), and because the small element provides no semantic value for any enclosed text—it simply states that the text needs to be smaller.

The example code above would render as shown in Figure 1.

Figure 1. Displaying text to which small is applied Example of small element

Some people argue that small can be used to indicate content that’s less important than that nearby. While there is nothing in the current HTML specification to support it, the HTML5 draft proposal states that, “The small element represents small print (part of a document often describing legal restrictions, such as copyrights or other disadvantages), or other side comments.” As such, its meaning and usage appears to be changing.

Use This For …

This element is used to affect text content of any kind.

Compatibility

IE5.5Full
6.0Full
7.0Full
Firefox1.0Full
1.5Full
2.0Full
Safari1.3Full
2.0Full
3.0Full
Opera9.2Full
9.5Full

As one of the earliest formatting elements, small has full browser support.

Related Reading

User-contributed notes

There are no comments yet.

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters