HTML <small> tag
Definitie en gebruik
<small>
De tag definieert kleinere tekst (zoals copyright en andere aantekeningen).
Tip:Deze tag is niet verlaten, maar kan met CSS een rijkere (of dezelfde) effecten realiseren.
Zie ook:
HTML tutorial:HTML Text Formatting
HTML DOM referentiehandleiding:Small object
Voorbeeld
Voorbeeld 1
Definieer een kleinere tekst:
<p>This is some normal text.</p> <p><small>Dit is een kleinere tekst.</small></p>
Example 2
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 small text.</span></p> </body> </html>
Global Attributes
<small>
The tag also supports Global Attributes in HTML.
event attributes
<small>
The tag also supports Event Attributes in HTML.
Default CSS Settings
Most browsers will display the following default values <small>
Element:
small { font-size: smaller; }
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |