Search Header Logo

HTML Quiz V3

Authored by Ideal Software

English

2nd Grade

Used 1+ times

HTML Quiz V3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these tags belong to table?

  1. <thead>,<body>,<tr>

  1. <table>,<head>,<tfoot>

  1. <table>,<tr>,<td>

  1. <table>,<tr>,<tt>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following tags gives a caption to the table?

  1. <caption>

  1. <head>

  1. <heading>

<h1>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an attribute of < table > tag?

  1. src

  1. cellpadding

  1. link

  1. bold

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default type of ‘type’ attribute of <input> element?

Text

Password

Numerals

Special Characters

Answer explanation

Answer: a
Explanation: Text input type defines single line text field. Type is the attribute that displays type of <input> elements. Its default type is text. It is supported by most of the browsers like Chrome, Internet Explorer, Firefox, Opera. Syntax is: <form action=”jump.php”> Name:<input type=”text” name=”name”> </form> A password field is defined by password input.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a new input attribute introduce by HTML5?

text

checkbox controls

submit buttons

date

Answer explanation

Answer: d
Explanation: HTML4 has attributes with <input> elements like radio buttons, Checkbox controls, submit buttons, text input etc.
HTML5 has introduced new attributes like date, color, month, time, week, datetime-local, email, number, range, tel, url, search etc.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the color type work?

Changes color of the text

Changes background color

The color picker is defined by it

Changes color of the text as well as background

Answer explanation

Answer: c
Explanation: color is the attribute of <input> element introduce by HTML5. It defines the color picker i.e we can select a color of our choice from the color picker. Syntax is Select the color that you want: <input type=”color” name=”favorite color”>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute is used for activation of JavaScript?

button

checkbox

url

submit

Answer explanation

Answer: a
Explanation: Input type button is used for the activation of JavaScript on the clicking of the button. Its syntax is <input type=”button” value=”click” onclick=”source()”>. This will display a button named click and when we click that button JavaScript function source() will be invoked.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?