Home > Article > Web Front-end > How to use html small tag
html The small tag is used to present a small font effect. The tag is the same as its corresponding tag, but it reduces the font size instead of enlarging it.
#html How to use the small tag?
Function: Present small font effect.
Note: The tag is the same as its corresponding tag, but it reduces the font size instead of enlarging it. If the enclosed font is already the smallest size supported by the font model, the tag will have no effect. Like the tag, the tag can be nested to continuously shrink text. Each tag makes the text one size smaller, until the lower limit of one size is reached.
Note: All browsers support the tag.
html small tag usage example 1
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <span>这是 <small>小一号</small>的字体</span> </body> </html>
Effect output:
html small tag usage Example 2
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <span>small标签中的文字会比<small>正常显示的文字小一号</small></span> </body> </html>
Effect output:
The above is the detailed content of How to use html small tag. For more information, please follow other related articles on the PHP Chinese website!