Home > Web Front-end > HTML Tutorial > HTML tag superscript sup and subscript sub application introduction_HTML/Xhtml_Web page production

HTML tag superscript sup and subscript sub application introduction_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:37:17
Original
2162 people have browsed it
HTML tag: Superscript

In HTML language, the tag can define superscript text. For example: if it is required to display: 2 oxygen ions, it needs to be written as: 2O2- in the html code. 2O2-

Content contained in the tag and its closing tag will be displayed at half the height of the characters in the current text stream, but with the same font and size as the characters in the current text stream. It's the same.

Tip: 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 tag: subscript

In HTML language, the tag can define subscript text. For example: it is required to display: 2 in H20 is the lower mark. In the html code, it needs to be written as: H20. H2O

Content contained in the tag and its closing tag will be displayed at half the height of the characters in the current text stream, but with the same font and font size as the characters in the current text stream Same.
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