HTML Small Tag - W3Schools
Có thể bạn quan tâm
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:
Example
small { font-size: smaller;} Try it Yourself » ❮ Previous Complete HTML Reference Next ❯ ★ +1 Track your progress - it's free! Log in Sign UpTừ khóa » Html P Tag Alternative
-
HTML Tags For Text - Flavio Copes
-
Is The
Tag Ever An Undesirable Alternative To TheTag?
Need Paragraph Tag Alternative (for Image Groups) - HTML & CSS
: The Paragraph Element - HTML: HyperText Markup Language
" Tag Instead Of "
" Tag Or "
Why Did The Tutor Put A "" Tag Instead Of "
" Tag Or "
HTML P Tag - W3Schools
HTML 5
Tag
WebD2: Common HTML Tags - University Of Washington
HTML:
Tag - TechOnTheNet
What Is The Best Alternative To Repetitive Typing Of
Tags In HTML ...Semantic HTML Guide – 10 Alternatives To Using Divs
How To Avoid A New Line With Tag? - GeeksforGeeks
Titles, Subtitles And Paragraphs: HTML H1 Tags And P - Nestify
HTML P Tag - Learn HTML | W3Docs
Copyright © 2022 | Thiết Kế Truyền Hình Cáp Sông Thu