wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Quiz V3

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which of these tags belong to table?

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

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

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

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

2.

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

a)
  1. <caption>

b)
  1. <head>

c)
  1. <heading>

d)

<h1>

3.

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

a)
  1. src

b)
  1. cellpadding

c)
  1. link

d)
  1. bold

4.

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

a)

Text

b)

Password

c)

Numerals

d)

Special Characters

5.

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

a)

text

b)

checkbox controls

c)

submit buttons

d)

date

6.

How does the color type work?

a)

Changes color of the text

b)

Changes background color

c)

The color picker is defined by it

d)

Changes color of the text as well as background

7.

Which attribute is used for activation of JavaScript?

a)

button

b)

checkbox

c)

url

d)

submit

8.

Which attribute defines the file-select field?

a)

file

b)

checkbox

c)

button

d)

text

9.

month attribute/type defines ___________

a)

only month

b)

month and year

c)

date

d)

date and time

10.

week attribute defines ____________

a)

week

b)

year

c)

week and year

d)

week, month and year

11.

Which element is used to create multi-line text input?

a)

text

b)

textarea

c)

submit

d)

radio button

12.

Which attribute is not used for the radio type?

a)

name

b)

value

c)

checked

d)

selected

13.

Which unique attribute is used with <select> element?

a)

multiple

b)

selected

c)

name

d)

value

14.

Which one is the correct sequence of HTML tags?

a)

head, body, title, html

b)

html, head, title, body

c)

html, title, head, body

d)

None of the above

15.

How to create a checkbox in HTML?

a)

<input type = "checkbox">

b)

<input type = "button">

c)

<checkbox>

d)

<input type = "check">

16.

Which HTML tag is used to make the text bold in HTML?

a)

<pre>

b)

<br>

c)

<b>

d)

None

17.

Correct syntax to include external CSS in HTML?

a)

<link href="style.css">

b)

<link rel="sheet" href="style.css">

c)

<link rel="stylesheet" src="style.css">

d)

<link rel="stylesheet" href="style.css">

18.

Which HTML tag attribute is used to provide a unique name to an element?

a)

class

b)

id

c)

type

d)

All of the above

19.

Which HTML tag is used to display the text with scrolling effect?

a)

<scroll>

b)

<run>

c)

<marquee>

d)

None

20.

Correct way to send mail in HTML?

a)

<mail xy@y</mail>

b)

<a href = "xy@y">

c)

<a href = "mailto: xyz@gmail.com">

d)

None