HTML CSS examples for HTML:Text Format
Example of HTML subscript and superscript
<!DOCTYPE html> <html lang="en"> <head> <title>Example of HTML subscript and superscript</title> </head> <!--from w w w. j a v a 2 s. c o m--> <body> <p>Water is: H<sub>2</sub>O</p> <p>Carbon Dioxide is: CO<sub>2</sub></p> <p>Mass-energy equivalence is: E=mc<sup>2</sup></p> </body> </html>