Subscript

Updated: 10/04/2017 by Computer Hope

Subscript may refer to any of the following:

1. Abbreviated as sub, subscript is character(s) that are half the height of a standard character and printed lower than the rest of the text. Below is an example of subscript text, which shows "Subscript Text" half way below the bottom line of the "Normal Text."

Normal Text Subscript Text

Subscript in Microsoft WordCreating subscript in Microsoft Word

To subscript text in Microsoft Word, highlight the text you want to subscript and then click the subscript button, which is the X2 in the Font section.

Tip: You can also highlight the text you want to subscript and press and hold down the Ctrl key and press the = on the top row of your keyboard.

Creating subscript in HTML

To subscript text in HTML use the <sub></sub> tags as shown in the example below.

Normal Text <sub>Subscript Text</sub>

Why would anyone need to use subscript?

Besides using subscript for its visual properties, there are other places that it can be used.

  • Listing how many atoms are in a chemical formula. For example, with water "H2O" indicates there are two H atoms and one O atom.
  • In mathematics, a subscript can be used to describe different versions of the same variable or used to refer to a member of sequence or set.

2. In computer programming, a subscript is a number that represents an element in an array example[3] or $example[3] the "[3]" is the subscript of the "example" array.

Font, Programming terms, Sub, Superscript, Typography terms, Word processor terms