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
30 questions
Python Intro Practice

Quiz
•
9th - 12th Grade
26 questions
CodeHS - Matisse - What is the Internet

Quiz
•
6th - 12th Grade
25 questions
Excel functions and formulas assessment

Quiz
•
9th - 11th Grade
30 questions
HTML-BASICO-2025

Quiz
•
4th Grade - University
30 questions
HTML CSS PHP JS

Quiz
•
10th Grade
25 questions
Quiz Bahasa C

Quiz
•
10th Grade - University
22 questions
Unit two CSS and HTML Test

Quiz
•
9th - 12th Grade
25 questions
CSP Python Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade