PT - II Grade X Revision HTML Forms
Quiz
•
Computers
•
10th Grade
•
Hard
Shiva Kumar
Used 2+ times
FREE Resource
Enhance your content in a minute
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
You open a website and see a section asking for your name, email, and a message with a “Send” button at the bottom.
Based on this scenario:
What HTML element might have been used to collect and send this information?
<div>
<form>
<section>
<table>
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
You are designing a contact form where users must enter their name, email, and phone number.
Each field should allow the user to type their answer in a single line.
Which HTML tag would you use repeatedly for these fields, and how would you customize it to collect different types of information?
<textarea>
<input>
<label>
<select>
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A developer creates a form with radio buttons for selecting gender. However, when the user clicks on the label text, the radio button doesn't get selected. Which of the following is the most likely reason?
The <label> tag is missing the for attribute that matches the id of the input.
The radio button is missing the name attribute.
The input type is set to text instead of radio.
The <label> tag is placed inside the <form> tag, which is incorrect.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
You are designing a form where a user must select their favourite programming languages from a drop-down list. The user should be able to choose more than one option, and 3 options should be visible at once. Also, "Python" should be selected by default.
Which of the following best matches your requirement?
<select>
<option>Python</option>
<option>Java</option>
<option>C++</option>
<option>JavaScript</option>
</select>
<select size="3" multiple>
<option selected>Python</option>
<option>Java</option>
<option>C++</option>
<option>JavaScript</option>
</select>
<select multiple>
<option>Python</option>
<option>Java</option>
<option>C++</option>
<option>JavaScript</option>
</select>
<select size="3">
<option selected>Python</option>
<option>Java</option>
<option>C++</option>
<option>JavaScript</option>
</select>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes what happens when you increase the rows and cols attributes in a <textarea> element?
The text area allows more characters to be typed, but only the first line is visible.
The size of the text area increases visually, showing more lines and a wider typing area.
The text area becomes a read-only field with more padding.
The text area starts behaving like a dropdown list with multiple options.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A student creates the following HTML code:
<button>Click Me</button>
After running it, the button appears — but clicking it doesn't perform any action.
What is the most likely reason?
The <button> tag is incorrectly used — it must be inside a <form>
The <button> tag is used only in JavaScript, not in HTML
The <button> creates a clickable button, but it needs an event or form to define its action
The browser doesn't support the <button> tag
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are designing a user registration form with separate sections for Personal Details and Login Information. Which combination of HTML tags would help visually group these sections with appropriate headings, without using CSS styles or tables?
Use multiple <form> tags inside one form
Use <div> for sections and <h2> for headings
Use <fieldset> to group inputs and <legend> for section titles
Use <section> with <caption> to label each part
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
24 questions
Chủ đề: Ms Word 2
Quiz
•
2nd Grade - Professio...
22 questions
2.3 What is e-learning?
Quiz
•
7th Grade - University
30 questions
SAINS KOMPUTER
Quiz
•
4th - 12th Grade
22 questions
Контрольный тест по программированию в Unity
Quiz
•
9th - 12th Grade
24 questions
Ôn Tin 10 Cánh Diều _Tuyết
Quiz
•
10th Grade
22 questions
Итоговый тест 2023
Quiz
•
9th - 12th Grade
26 questions
Macromedia Flash
Quiz
•
8th Grade - Professio...
25 questions
Understanding Strings and Functions Quiz
Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
