English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Manual de referência HTML

大全 de etiquetas HTML

HTML: <small> tag

O elemento <small> do HTML fará com que o texto diminua em um tamanho de fonte (por exemplo, de grande para médio, de médio para pequeno, de pequeno para ultra-pequeno). No HTML5No, além de seu significado de estilo, esse elemento é redefinido para representar notas marginais e detalhes adjuntos, incluindo texto de direitos autorais e legais.

Exemplo online

small define texto pequeno:

<!doctype html>
<html>
<head>
<meta charset="UTF-8">-8">
<title>Use of HTML small tag (Basic Tutorial Website oldtoolbag.com)</title>/title>
</head>
<body>
<p>This is the first sentence. <small>This whole sentence is in small letters.</small>/small></p>
</body>
</html>
Test and see ‹/›

Browser compatibility

IEFirefoxOperaChromeSafari

All mainstream browsers support the <small> tag.

Tag definition and usage instructions

The <small> tag defines small text (and sidenotes).

Notes

Although the <small> element, the <b> element, and the <i> element are considered to violate the principle of separation of structure and style, in HTML5In it, the use of these three elements is allowed. The reader should judge for themselves whether to use <small> or CSS.

Global attributes

Support for <small> tag Global attributes of HTML.

Event attributes

Support for <small> tag HTML event attributes.