Text Box

A text box is a rectangular area on the screen where you can enter text. It is a common user interface element found in many types of software programs, such as web browsers, email clients, and word processors. When you click in a text box, a flashing cursor is displayed, indicating you can begin typing. If you are using a tablet, tapping inside a text box may automatically display the on-screen keyboard.

There are two different types of text boxes — text fields and text areas. A text field is small box that allows you to enter a single line of text. It is used for entering basic values, such as a name, number, or short phrase. A text area is a larger box that allows you to enter multiple lines of text. Generally, pressing Enter in a text area will enter a newline character, creating a line break. When you press Enter while typing in a text field, either the cursor will jump to the next field or the value will be submitted.

In HTML, a text field is defined by an <input> tag with the type "text." A text area is defined by a <textarea> tag. Text fields are the most common, as they are used for entering queries in search engines and website search boxes. However, many Web forms, such as user registration and website contact pages often contain both types of text boxes. Regardless of what text boxes an online form contains, you can jump from one to the next by pressing the Tab key.

Updated December 26, 2012 by Per C.

quizTest Your Knowledge

Which verb describes recovering a deleted or corrupted file?

A
Restore
0%
B
Return
0%
C
Rebuild
0%
D
Refresh
0%
Correct! Incorrect!     View the Restore definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Text Box on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.