HTML - Formatting tags - Set 2

The <strike> element is used to define text that should be displayed with a strikethrough, indicating that it is no longer relevant or valid.

It is often used to indicate deleted or deprecated content.

<strike>This text is no longer relevant.</strike>

The <sup> element is used to define superscript text, which is displayed above the normal line of text.

It is commonly used for footnotes, mathematical exponents, and references.

Einstein's famous equation is E=mc<sup>2</sup>.

The <sub> element is used to define subscript text, which is displayed below the normal line of text.

It is commonly used in chemical formulas, mathematical formulas, and annotations.

The chemical formula for water is H<sub>2</sub>O.

The <del> element is used to define deleted or removed text.

It visually indicates that the text has been deleted or marked for deletion.

<del>This text has been removed.</del>

The <ins> element is used to define inserted or added text.

It visually indicates that the text has been added or inserted into the document.

<ins>This text has been added.</ins>

The <big> element is used to define text that should be displayed in a larger font size.

It visually increases the size of the text, drawing attention to it.

<big>This text is displayed in a larger font size.</big>

The <small> element is used to define text that should be displayed in a smaller font size.

It visually reduces the size of the text, often used for fine print or disclaimers.

<small>This text is displayed in a smaller font size.</small>

These HTML elements, along with their attributes, allow web developers to format and style text in various ways to convey meaning, add emphasis, and provide additional information.