HTML Level 1 and 2 Manual

Home | Element Index | Forms | Screens & Colours | GIFs | Layout | Compatibility


Element Index > Forms

<INPUT> Element

Category: Forms
Period: HTML 2.0 Level 2
Status: core

Description

Creates a single form input control.

Syntax

<INPUT TYPE="text" NAME="q" VALUE="">

Attributes

TYPE, NAME, VALUE, CHECKED, SIZE, MAXLENGTH, SRC, ALIGN.

Usage Guidelines

Common Mistakes

Example Code

<P>Search: <INPUT TYPE="text" NAME="q" SIZE="30">
<INPUT TYPE="submit" VALUE="Go">

Authoring Note

Write the document first, then test it in a graphical browser and a text browser. The page should remain understandable if images fail, colours are ignored, or the browser uses its own fonts.


Top | Home | All Elements

HTML Level 1 and 2 Manual.