Home  >  Article  >  Web Front-end  >  How to use html small tag

How to use html small tag

藏色散人
藏色散人Original
2019-05-28 10:22:113763browse

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.

How to use html small tag

#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:

How to use html small tag

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:

How to use html small tag

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn