Home
Flashcards
Preview
XHTML Lecture 4 Forms
Home
Get App
Take Quiz
Create
What are the tags for forms?
<form>
First Name:
<input name=
"fname"
type=
"text"
/>
</form>
the input tag should always have a name and type.
Text should precede the input tag so the user knows what to enter.
Name the input attributes:
name=
"fname"
type=
"text"
value=
"enter text here"
size=
"80"
maxlength=
"20"
List the different "type" attributes available:
text
,
submit
,
reset
,
image
,
checkbox
,
radio
.
How do you create a pop-up menu?
<select name=
"prize"
>
<option value=
"cheese"
>
Cheese
</option>
<option value=
"burgers"
>
Burgers
</option>
<option value=
"xbox"
>
Xbox
</option>
</select>
How do you create a text area?
<textarea name=
"comments"
cols=
"10"
rows=
"10"
>
</textarea>
Author
mal808
ID
60194
Card Set
XHTML Lecture 4 Forms
Description
Lecture notes on XHTML Forms
Updated
2011-01-17T11:07:29Z
Show Answers
Home
Flashcards
Preview