How to use html small tag

藏色散人
Release: 2019-06-05 14:39:46
Original
3759 people have browsed it

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!