The sup tag in HTML
- 24-07-2022
- Trung Minh
- 0 Comments
The sup tag defines superscript documents.
What is superscript text? Superscript text is text that is displayed higher than the line of normal text, usually in a smaller font size. Superscript text is often used for comments, exponential representation, etc.
Using
Example : Use the sup tag to represent exponents.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <h1>Học html miễn phí tại web888.vn</h1> 5<sup>2</sup><br> 10<sup>4</sup><br> 3<sup>3</sup><br> </body> </html>