html sup tag


  Translation results:

英[sʌp] 美[sʌp]

vt. Drink in small sips; drink with a spoon; sip (soup, tea, etc.); <Mei, mouth> drink (wine)

vi.<Ancient>Have dinner

n.Sip (drink)

Third person singular: sups Present participle: supping Past tense: supped Past participle: supped

html sup tagsyntax

Function: Can define superscript text.

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

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

html sup tagexample

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

Run Instance»

Click the "Run Instance" button to view the online instance

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
比如我们需要表示数学中的平方:3<sup>2</sup>
</body>
</html>

Run instance»

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A