Home  >  Article  >  Web Front-end  >  Display subscripted text in HTML

Display subscripted text in HTML

王林
王林forward
2023-08-25 23:37:041444browse

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>

Example

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!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete