WEB DESIGN
HTML FORM HTML FORM FORM VALIDATION 1 2
FORM ELEMENTS Text Select 1 2 Checkbox Radio 1 2 Textarea Button 1 2
INPUT TYPE <input type="text" name="firstname"> <input type=“password" name=“password"> <input type=“email" name=“email"> <input type=“number" name=“age"> <input type="date" name="bday" max="1979-12-31"><br> <input type="color" name="favcolor"> <input type="range" name="points" min="0" max="10"> <input type="month" name="bdaymonth"> <input type="week" name="week_year"> <input type="time" name="usr_time"> <input type="search" name="googlesearch"> <input type="url" name="homepage">
SELECT <select name="cars"> <option value="“ selected> Select Car </option> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="fiat">Fiat</option> <option value="audi">Audi</option> </select>
Radio <input type="radio" name="gender" value="male" checked> Male <input type="radio" name="gender" value="female"> Female <input type="radio" name="gender" value="other"> Other
CHECKBOX <input type="checkbox" name="vehicle1" value="Bike"> I have a bike<br> <input type="checkbox" name="vehicle2" value="Car"> I have a car
BUTTON <button type="button" onclick="alert('Hello World!')"> Click Me! </button> <input type="submit"> <input type="reset">
THANK YOU

Web Design Course - Lecture 6 - HTML form and form validation