Home > Web Front-end > HTML Tutorial > What does the sub tag mean in html?

What does the sub tag mean in html?

云罗郡主
Release: 2019-02-18 13:18:12
Original
6457 people have browsed it

What does the sub tag in html mean?

Function: Define subscript text.

Note: The content contained in the tag and its closing tag will be displayed with half the height of the characters in the current text stream, but with the same font as the text in the current text stream. and font size are the same.

Note: Both the tag and its corresponding tag are very useful in mathematical equations, scientific symbols, and chemical formulas.

html sub tag example

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
这段文本包含 <sub>下标</sub>
</body>
</html>
Copy after login


The above is the detailed content of What does the sub tag mean in html?. 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