What is HTML sup tag
This Blog You Will Learn
ஃ What is the <sup> tag
ஃ Syntax of HTML <sub>. . .</sub> tag
ஃ 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.
Syntax of HTML <sub>. . .</sub> tag
<p> H <sub> 2 </sub> O </p>
- html <sub> tag mean :- Subscript text
- html <sub> tag use :- text display appears slightly normal text line
what is HTML sup tag
Example
<!DOCTYPE html>
<html>
<head>
<title> HTML superscript tag </title>
</head>
<body>
<h1> Learn html supscript tag</h1>
<h3>learn Free <sub>HTML supscript tag</sub>
webdesigningtheory.blogspot.com</h3>
</body>
</html>
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>
<title> HTML superscript tag </title>
</head>
- <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]
<body>
<h1> Learn html subscript tag</h1>
<h3>learn Free <sub> HTML subscript tag
</sub> webdesigningtheory.blogspot.com </h3>
</body>