Learn HTML Superscript Tag with Easy Examples
What is HTML sup tag
This Blog You Will Learn
ஃ What is the <sup> tag
ஃ Syntax of HTML <sub>. . .</sub> tag
ஃ structure diagram examples
ஃ Explain Program
ஃ Output
What is the <sup> tag
✅HTML <sup> tag displays text superscript
✅<sup> tag is accessible by default
✅Text appears slightly above normal line.
✅HTML <sup> tag tells browser to display the enclosed text superscript.
✅HTML <sup>tag text appears higher than regular line.
✅HTML <sup> tag smaller than surrounding text.
✅HTML <sup> element must both opening and closing tag.
✅<sup> tag defines superscript text, which text displayed baseline and commonly used mathematical exponents,footnotes ordinal indicators.
- html <sub> tag mean :- Subscript text
- html <sub> tag use :- text display appears slightly normal text line
ஃ structure diagram examples
Example
what is HTML sup tag
Explain Program
Step 1]
<!DOCTYPE html>
- This declare the document type.
- browser that the document is written in html
Step 2 ]
<html>.... . </html>
- html is the root element of the html page.
- Every thing inside it is part of the webpage.
Step 3]
- <head> section
- head section contains metadata about page. not visible on the page itself.
- <title> tag title section set the title of the page shows the browser tab.
Step 4]

Post a Comment