Skip to main content

Subscript and Superscript

Subscript and Superscript | HTML: Subscript means script or text below the normal line and Superscript means script or text above the normal line.

Here is the SubandSup.html:

  1. <!-- Subscript and Superscript in Html -->
  2. <!DOCTYPE html>
  3. <html lang="en" dir="ltr">
  4.   <head>
  5.     <title>Subscript and Superscript</title>
  6.   </head>
  7.   <body>
  8.     <h1>Here is the <sub>Subscript</sub></h1>
  9.     <h1>Here is the <sup>Superscript</sup></h1>
  10.   </body>
  11. </html>

Web view of Html:




Here is the Video: