Quick link to menu (Bottom of page)

Learn-A-Little HTML

Input tag

The Input <INPUT> tag is how we specify what type of input we will accept from the user.  Input is an empty tag.  You'll remember that means it does not need a closing tag.  There are several attributes we can use, but the only two that are required are TYPE and NAME.   The Input tag uses the following format:

<INPUT TYPE="type of input" NAME="variable name" SIZE="number" MAXLENGTH="number">

There are many Input types, but we will only look at 4:  text box, check boxes, radio buttons, and menu boxes.

Let's start with text boxes!

 

 

BackNext Page

Menu:


Take me back to the top.