Home > Web Front-end > HTML Tutorial > html sub tag and sup tag_HTML/Xhtml_web page production

html sub tag and sup tag_HTML/Xhtml_web page production

WBOY
Release: 2016-05-16 16:44:04
Original
1767 people have browsed it

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 can define 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



This tag issub
This tag issup









Draw inferences from one example:

Let’s take a look at how to achieve this effect with mathematical equations?








sub and sup tags in html



x1 y23=15
< ;/div>



Other applications:

By chance, I discovered Taobao some time ago The website has made some modifications to the price (I don’t know why, but it has now been restored), which is different from the previous traditional price performance.



















sub and sup tags in html>


< style type="text/css">



¥< /sup>43.26



I believe that the applications of sub and sup tags are not limited The same goes for other HTML tags. As long as you understand them and activate our thinking and imagination, you can use them skillfully and show their unique charm.

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