Font size
WorksheetsWEBDEV11 - WEB FORMS QUIZ
Total questions: 30
Worksheet time: 20mins
Which HTML element is used to create a web form?
<form>
<fieldset>
<input>
<section>
Which attribute in the <form> tag specifies where to send form data when submitted?
method
target
name
action
The <fieldset> element is used to ________.
Add a title to a webpage
Group related form elements
Create a hyperlink
Control form colors
Which tag defines a caption or title for a group of form fields?
<label>
<title>
<legend>
<caption>
What is the correct HTML tag for a single-line text field?
<input type="text">
<input type="textbox">
<input text="type">
<textarea>
Which element is used for entering multiple lines of text?
<textarea>
<input type="text">
<label>
<p>
The <label> tag is used to:
Display data from the server
Provide and define a text area
Provide a description for an input field
Submit form data to the server
The <input type="checkbox"> element allows a user to:
Choose only one option
Enter text input
Select from a drop-down list
Choose multiple options
The <input type="radio"> element is used for_______.
Selecting one option from a group
Uploading a file
Selecting multiple answers
calling someone over the radio
What HTML element is used to create a drop-down menu?
<menu>
<select>
<dropdown>
<option>
The <fieldset> tag is used to create a clickable button.
True
False
The method attribute in the form tag determines how data will be sent to the server.
True
False
A well-designed form should have a logical flow of information.
True
False
Labels are used to describe or identify text boxes and other fields.
True
False
The <legend> element is nested inside the <form> tag but outside the <fieldset>.
True
False
The <input type="email"> automatically checks if the user entered a valid email format.
True
False
Checkboxes are used when only one option is allowed.
True
False
The <select> element allows users to pick one or more choices from a list.
True
False
The submit button sends all form data to the location defined in the action attribute.
True
False
The value attribute is used to label the form field that users see.
True
False
The element used to start and end a web form is the (a) tag.
The attribute that defines where the form data will be sent is called the (a) attribute.
A group of related fields can be organized using the (a) tag.
The element that provides a description for each form field is called a (a) .
The attribute that identifies the data being collected, like "name" or "email," is the (a) attribute.
To make a form field display sample text or a hint, use the (a) attribute.
The input type used for multiple selections is (a) .
The input type used for single-choice selection is (a) .
Each item in a drop-down list is created using the (a) tag inside the <select> element.
The button that sends all entered data to the server is created using <input type=" (a) ">.
