HTML tag: superscript In HTML, the <sup> tag defines superscript text. For example, if you want to display 2 oxygen ions, you need to write it as 2O<sup>2-</sup> in the HTML code. 2O2- The content contained in the <sup> tag and its closing tag </sup> will be displayed at half the character height of the current text flow, but with the same font and size as the text in the current text flow. Tip: This tag is useful for adding footnotes to documents and for indicating exponential values in equations. If used in conjunction with the <a> tag, it can create nice hyperlinked footnotes. HTML tag: subscript In HTML, the <SUB> tag defines subscript text. For example: if you want to display: H20, where 2 is the subscript, you need to write it as: H<SUB>2</SUB>0 in the HTML code. H2O The content contained in the <SUB> tag and its closing tag </SUB> will be displayed at half the character height of the current text flow, but with the same font and size as the text in the current text flow. |
<<: Solve the problem that line-height=height element height but text is not vertically centered
>>: Vue uses calculated properties to complete the production of dynamic sliders
I wrote a simple UDP server and client example be...
There are many differences between IE6 and IE7 in ...
When displaying long data in HTML, you can cut off...
There is no mysql by default in the yum source of...
This article uses examples to describe how to cre...
Table of contents 1. Filter, map, and reduce proc...
This article shares the specific code for JavaScr...
Table of contents 1. Basics of audio playback in ...
This article uses examples to illustrate the basi...
Table of contents Preface Environment Preparation...
Written in front Sometimes you need to install so...
This article mainly introduces the installation/st...
Step 1: Create a Django project Open the terminal...
This article shares the specific code of React to...
Discuz! Forum has many configuration options in th...