HTML <small> Tag
Example
Define a smaller text:
<p>This is some normal text.</p>
<p><small>This is some smaller
text.</small></p>
Try it Yourself »
More "Try it Yourself" examples below.
Definition and Usage
The <small>
tag defines smaller text (like
copyright and other side-comments).
Tip: This tag is not deprecated, but it is possible to achieve richer (or the same) effect with CSS.
Browser Support
Element | |||||
---|---|---|---|---|---|
<small> | Yes | Yes | Yes | Yes | Yes |
Global Attributes
The <small>
tag also supports the Global Attributes in HTML.
Event Attributes
The <small>
tag also supports the Event Attributes in HTML.
More Examples
Example
Use CSS to define smaller text:
<html>
<head>
<style>
span.small {
font-size: smaller;
}
</style>
</head>
<body>
<p>This is some normal text.</p>
<p><span class="small">This is some smaller text.</span></p>
</body>
</html>
Try it Yourself »
Related Pages
HTML tutorial: HTML Text Formatting
HTML DOM reference: Small Object
Default CSS Settings
Most browsers will display the <small>
element with the following default values:
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.