The sub tag in HTML
- 24-07-2022
- Trung Minh
- 0 Comments
The sub tag defines the subscript text.
What is subscript text? It is the text that is printed indented lower than the normal line, The most common case that we are very familiar with is that in chemical formulas, subscript text is the index of indentation below in the formula. awake.
Using
For example, use the sub tag to represent course formulas.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <h1>Học html miễn phí tại web888.vn</h1> Nước - H<sub>2</sub>O<br> Axit sunfuric - H<sub>2</sub>O<br> Đường saccarôzơ - C<sub>12</sub>H<sub>22</sub>O<sub>11</sub><br> Đường glucose - C<sub>6</sub>H<sub>12</sub>O<sub>6</sub><br> </body> </html>