Today let’s get to know two html tags that I don’t use very often: sub tags and sup tags.
Related articles: HTML tags: optgroup, sub, sup and bdo
Today let’s get to know two html tags that I don’t use very often: sub tags and sup tags.
Definition and usage:
The
tag defines subscript text. can define superscript text. They are all inline elements and are slightly smaller than the current font by default.
Example:
sub and sup tags in html
* { font-size:12px; font-family:Tahoma}
This tag is sub
This tag is sup
Draw inferences from one example:
LetStatement: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