












































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













































(Web Development Lecture 5)
Focus of the last lecture was on Interactive Forms
But first lets review the tags that are
used in forms
name=“name” method=“get” or “post” action=“URL”
Elements of the form
Password Input Field
type=“password” name=“name” size=“widthInCharacters” maxlength=“limitInCharacters” value=“initialDefaultValue”
Hidden Input
type=“hidden” name=“name” value=“value”
Radio Button Input Element
type=“radio” name=“name” checked value=“selectedValue”
File Upload Input Element
type=“file” name=“name” value=“nameOfSelectedFile” enctype=“fileEncodingType”
Submit Button Input
type=“submit” name=“name” value=“buttonLabel”
8 Possible Values for the “type” Attribute
of tag
Select from a (Drop Down) List
<SELECT name=“name” size=“numberOfDisplayedChoices” multiple
End of the Review of Tags Used in Forms
Now let’s take a look at a form that we constructed last time, and see how we can make it better