Underline

Updated: 08/16/2021 by Computer Hope

An underline may refer to any of the following:

Underline

1. An underline is a section of text in a document where the words have a line running beneath them. For example, this text should be underlined. Underlined text is commonly used to help draw attention to text. Today, underlines are commonly used to represent a hyperlink on a web page.

What is the underline key?

There is no underline key on any computer keyboard. However, some users may refer to the underscore key as the underline key. For steps on how to underline text, continue reading the following sections.

Create underline text in HTML

To create an underline in HTML, you can use the <u> tag or CSS. However, as mentioned earlier, keep in mind that most people relate an underline to a hyperlink, and any other text that is underlined may be confusing.

<u>This text should be underlined</u>

Create underline text in a word processor, such as Microsoft Word

Bold italic underline

Below are the general steps to create underlined text in a word processor, such as Microsoft Word, Google Docs, or LibreOffice Writer.

  1. Highlight the text you want to be underlined.
  2. Click the U button, which is often next to the B and I buttons for bold and italic, as shown in the picture.
Tip

The shortcut key to make text underlined is often Ctrl+U on a PC and Command+U on a Mac.

How to remove an underline in a word processor

Below are the steps to remove the underline from text in a word processor, such as Microsoft Word, Google Docs, or LibreOffice Writer.

  1. Highlight all or some of the text that is underlined.
  2. Click the U button, which is often next to the B and I buttons for bold and italic, as shown in the picture.
Tip

The shortcut key to make text underlined is often Ctrl+U on a PC and Command+U on a Mac.

Spellcheck underlines

2. A line can also be a wavy colored underline to help point out errors in a document. Pictured here are three different colored underlines in a Microsoft Word document. Red underlines indicate spelling errors, green underlines are grammar errors, and blue underlines indicate inconsistent formatting.

Tip

With the wavy green line, if you right-click the green line and click About This Setence you'll be given further information about the grammar error.

BIU, Bold, Font, Italic, Line, Typography terms, Underscore, Word processor terms