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
This article example shares the specific code of ...
1. Mathematical Functions ABS(x) returns the abso...
Table of contents 1. switch 2. While Loop 3. Do/W...
Table of contents 1. How the Bootstrap grid syste...
question: In some browsers, such as 360 browser...
This article example shares the specific code of ...
Table of contents 1. Introduction 2. Install Dock...
Directory Structure . │ .env │ docker-compose.yml...
Table of contents 1. Retrieve via --skip-grant-ta...
Preface Recently, part of the company's busin...
JavaScript to achieve the source code download ad...
This article shares the specific code of JavaScri...
This article shares the specific code of js to im...
This article shares the specific code of jquery+A...
Introduction When writing SQL today, I encountere...