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

Display subscripted text in HTML

王林
Release: 2023-08-25 23:37:04
forward
1528 people have browsed it

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template