PT - II Grade X Revision HTML Forms

PT - II Grade X Revision HTML Forms

10th Grade

27 Qs

quiz-placeholder

Similar activities

uCertify SDA Chapter 7 Test

uCertify SDA Chapter 7 Test

8th - 12th Grade

30 Qs

1) Python Data Types

1) Python Data Types

8th - 11th Grade

23 Qs

Pretest Mandiri 1 - X RPL 2

Pretest Mandiri 1 - X RPL 2

10th Grade

25 Qs

Python Basics 3

Python Basics 3

9th - 12th Grade

25 Qs

J277 - basic testing and errors

J277 - basic testing and errors

9th - 12th Grade

22 Qs

HTML BASICS

HTML BASICS

KG - University

25 Qs

HTML (Class X)

HTML (Class X)

10th Grade

25 Qs

HTML - II PUC

HTML - II PUC

9th - 12th Grade

25 Qs

PT - II Grade X Revision HTML Forms

PT - II Grade X Revision HTML Forms

Assessment

Quiz

Computers

10th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?