Forms in HTML
Forms in HTML
b. <text>
<textarea>
d. <dropdown>
default?
7. Which attribute is used to display a radio button selected by
a Checked
b. Check
C. Select
d. selected
d. Input
available in a
2. HoWmany radio buttons can be selected from many radio buttons
single group?
b. 2
C. 3
d. 4
b. Arrow
C. Dot
d Tick
4. What is the shape of radio button?
aCircle
b. Square
C. Triangle
d. Rectangle
5. Choose the incorrect option.
a. radio button allows to choose only one option from the given options.
heclke
b default option can be chosen using attribute "selected" in radio button
C.
default option can be chosen using attribute "checked" in radio button
d. checkbox allows to choose one or more than one options from the given
options.
b.
Textbox: Sinpu type text"name"frsd_nome>
Checkbox:
Sioput type-"checkbox' nomesmaths'valueon
Submit button:
d
C
C. Check_ boxes are used when you want the user to select one or more of limited
number of choices.
<form>
2. In the form below,add two radio buttons,both with the name "fav_language".
<form>
</select>
</form>
"note".
5. In the form below, add atext area with the name
<form action="/action_page.php">
"n ote"ans'o" cols
<textaea name-
</form> <Itexteay
"username" .
6. In the form below, add an input field for text, with the name
<form action="/action_page.php">
type"tex"id ='username"pame-'use rnome ")
nput
</form>
7. In the form below, add a submit button with the value "Submit Form".
<form action="laction page.php">
<input type="text" name="username">
"
<input type Submid"value" Submit
<form>
10. Set the max numbers of characters allowed in the input field to 40.
<form action="laction_page.php">
<input type="text I max length "yo