Just like Microsoft Word has the ability to create subscript and superscript text, the same can be achieved in HTML. The <sub>
and <sup>
tags are a simple addition to your list of tags — they are not included in the CAT curriculum.
HTML Code: | Renders as: |
---|---|
H<sub>2</sub>0 | H2O |
x<sup>2</sup> | x2 |
I always suggest that learners create a footer with a copyright symbol and their name on all their HTML pages:
<footer> <p><sup>©</sup>Initial Surname</p> </footer>