

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The different attributes and description values of HTML form tags, such as <form>, <input>, <fieldset>, and <legend>. It provides sample codes of forms with text and password inputs, radio buttons and check boxes, and a fieldset with submit and reset buttons. how to create an HTML form for user input and how to group related elements in a form.
Typology: Cheat Sheet
1 / 3
This page cannot be seen from the preview
Don't miss anything!


- used to create an HTML form for user input.
- specifies an input field where the user can enter data.
EXAMPLE OF A FORM WITH TEXT AND PASSWORD INPUTS SOURCE CODE 1
FULL NAME :
PASSWORD :
OUTPUT: EXAMPLE OF A FORM WITH RADIO BUTTONS AND CHECK BOXES SOURCE CODE
Are you happy today?
YES NO
How do you feel today? Choose at least one.
Happy
Sad
Sleepy
Hungry
Excited
Super
OUTPUT: EXAMPLE OF A FORM WITH A FIELDSET AND SUBMIT AND RESET BUTTONS SOURCE CODE
BASIC INFORMATION: NAME :
AGE :
HOMETOWN :
OUTPUT: