Home > Article > Web Front-end > Display subscripted text in HTML
Use the tag to create subscripted text. HTML tag is used to define subscripted text, for example
x<sub>1</sub>+ x<sub>2</sub>
You can try running the following code to display subscripted text in HTML -
<!DOCTYPE html> <html> <head> <title>HTML sub Tag</title> </head> <body> Value of x<sub>1</sub> + x<sub>2</sub> = 17 </body> </html>
The above is the detailed content of Display subscripted text in HTML. For more information, please follow other related articles on the PHP Chinese website!