The superscripts and subscripts elements are reflective of the need to add foot notes for source as well as the need to be able to write chemical formulas. They are also useful tools for the web page author. Perhaps you’ll need to document a source on your website by inserting a foot note reference at the end of a quotation. For this we will use <sup> element.
- <sup></sup> This element creates a superscript
- <sub></sub> This element forces test to display as a subscript.
To see these elements type the following codes in a notepad then save and open in a web browser.
<html>
<head>
<title>Superscript and Subscript</title>
</head>
<body>
The <sup>superscript</sup> and <sub>Subscript</sub> elements.
</body>
</html>
No comments:
Post a Comment