1 minute html tutorial - input textbox and label

Post on 17-Jan-2017

255 Views

Category:

Internet

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1 Minute HTML

<input> textbox and <label>

Form with an input

textbox

An input textbox accepts

a free text

A label describes what the

textbox is for

Pressing the submit button…

You jump to another page

The URL part after “?”

has the input from the textbox

The URL part after “?”

... is called “query string”

Let’s see how an

<input> textbox works

<input> tag with type=“text”

becomes a textbox

“name” is the parameter

name in query string

<input> tag doesn’t have

</input>

You enter a text

Press the button

as in “action”,

you jumped to action.html

Your input is in query string

How <label> works with

an <input> textbox

Enclose <input> in

<label> </label>

If <label> </label> encloses <input>,

then clicking on the label…

put the focus to the input textbox

top related