PT - II Grade X Revision HTML Forms

Quiz
•
Computers
•
10th Grade
•
Hard
Shiva Kumar
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
25 questions
C++ Programming Unit 3 Quiz

Quiz
•
10th - 12th Grade
23 questions
Latihan Hardware - Software - Brainware

Quiz
•
9th - 12th Grade
25 questions
HTML and CSS

Quiz
•
9th - 12th Grade
25 questions
ULANGAN HARIAN

Quiz
•
10th Grade
22 questions
AP CSP Midterm Review

Quiz
•
10th - 12th Grade
22 questions
التهيئة للتطبيق الشامل- أول اعدادي

Quiz
•
1st Grade - University
22 questions
Язык HTML +

Quiz
•
9th - 11th Grade
23 questions
L1 Boolean Logic (Computer Systems Recap) Quiz

Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade