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

What does sup tag mean?

云罗郡主
云罗郡主Original
2019-02-20 13:57:256335browse

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 2cdea26b4c3988e37d674b56660962a7 tag and its closing tag 2eb235f530502820017cce1685312d59 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 3499910bf9dac5ae3c52d5ede7383485 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>


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!

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