Home > Web Front-end > HTML Tutorial > What does sup tag mean?

What does sup tag mean?

云罗郡主
Release: 2019-02-20 13:57:25
Original
6367 people have browsed it

What does the sup tag mean?

The sup tag defines superscript text. The superscript text will be displayed above the baseline that is half the character height in the current text stream, but is different from the current The text font and size are the same throughout the text stream, and superscripted text can be used to add footnotes.

html sup tag syntax

Function: You can define superscript 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.

Comments: This tag is useful for adding footnotes to documents and for representing exponent values ​​in equations. If used in conjunction with the tag, it can create a great hyperlink footer.

html sup tag example

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


The above is the detailed content of What does sup tag mean?. For more information, please follow other related articles on the PHP Chinese website!

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