What is sub and sup in HTML?

Subscript: The tag is used to add a subscript text to the HTML document. The tag defines the subscript text. … The tag defines the superscript text. Superscript text appears half a character above the normal line and is sometimes rendered in a smaller font.

What is sub in HTML?

The <sub> tag defines subscript text. Subscript text appears half a character below the normal line, and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O. Tip: Use the <sup> tag to define superscripted text.

What is the use of SUP?

<sup>: The Superscript element. The HTML Superscript element ( <sup> ) specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usually rendered with a raised baseline using smaller text.

How do you write subscript and superscript in HTML?

The <sup> tag defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like WWW. Tip: Use the <sub> tag to define subscript text.

What is the use of sub and sup tag explain with suitable example class 10?

The <sub> tag defines the subscript text. Subscript text appears half a character below the normal line and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O to be written as H2O. Superscript: The <sup> tag is used to add a superscript text to the HTML document.

What is small tag in HTML?

The HTML <small> element is found within the <body> tag. The <small> tag is used to make the text one size smaller (ie: from x-large to large, large to medium, medium to small). The <small> tag can not make the text smaller than the browser’s minimum font size.

Which tag is used in co2?

Answer. Answer: The <sup> tag defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font.

What is use of sub and sup tag?

The <sub> tag defines the subscript text. Subscript text appears half a character below the normal line and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O to be written as H2O. Superscript: The <sup> tag is used to add a superscript text to the HTML document.

What is strong tag in HTML?

The <strong> tag is used to define text with strong importance. The content inside is typically displayed in bold.

What is emphasis tag in HTML?

The <em> tag is used to define emphasized text. The content inside is typically displayed in italic. A screen reader will pronounce the words in <em> with an emphasis, using verbal stress.

What is an example of a subscript?

Subscript is the text which a small letter/number is written after a particular letter/number. … It is used when writing chemical compounds. An example of subscript is N2. Superscript is the small letter / number above a particular letter / number.

How do you make a superscript in a browser?

For superscript, simply press Ctrl + Shift + + (press and hold Ctrl and Shift, then press +). For subscript, press CTRL + = (press and hold Ctrl, then press =). Pressing the respective shortcut again will get you back to normal text.

What are the major tags used in HTML?

Basic HTML

Tag Description
<!DOCTYPE> Defines the document type
<html> Defines an HTML document
<head> Contains metadata/information for the document
<title> Defines a title for the document

What does superscript mean?

: a distinguishing symbol (such as a numeral or letter) written immediately above or above and to the right or left of another character.

How do I do superscript in Word?

Use keyboard shortcuts to apply superscript or subscript

Select the text or number that you want. For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. For subscript, press Ctrl and the Equal sign (=) at the same time. (Do not press Shift.)

Which tag is used to start a new line?

Explanation: The HTML <p> element defines a paragraph. A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph.

IT IS INTERESTING:  How do you make a background image not repeat in HTML?
HTML5 Robot