1. Technology

<input type="text">

By

INPUT Text Description:

The text INPUT tag places a text input field in your HTML forms. It is the standard input field and is used whenever the INPUT tag does not have a type attribute defined.

DTD: HTML5: <!doctype html>
HTML4 Strict: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
HTML4 Transitional or Loose: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

INPUT Text Web Browser Support:

HTML Versions

INPUT Text Attributes:

Global attributes, event attributes, and the input tag attributes. Plus: </p>

  • autocomplete
  • list
  • maxlength
  • pattern
  • placeholder
  • readonly
  • required
  • size
  • selectedOption
  • select()
  • selectionStart
  • selectionEnd
  • setSelectionRange()

INPUT Text Usage:

Standard text input tag

<form>
<input type="text">
</form>

See an example of a standard text input tag.

INPUT Text Special Notes:

This is the most commonly used input field. It is the default input field type, and most browsers will display a text field if they don't recognize the type of input field being requested.

More INPUT Text Information:

  1. About.com
  2. Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The INPUT Text Tag - INPUT Text - HTML Tag for Text Fields on HTML Forms

©2014 About.com. All rights reserved.