Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML 1

Total questions: 9

Worksheet time: 5mins

Name
Class
Date
1.


What is the smallest header in HTML by default?


a)

H1

b)

H2

c)

h6

d)

h0

2.

Which of the following are examples of block-level elements in HTML?

a)

div

b)

P

c)

H1

d)

ALL OF THESE

3.

Which of the following is the correct syntax for an external link in HTML?
a) <a href="#section1">Section 1</a>
b) <a href="mailto:abc@example.com">Email</a>
c) <a href="https://www.example.com">Visit Example</a>
d) <a src="section1">Section 1</a>

a)

a

b)

b

c)

c

d)

d

4.

Which attribute is used to create internal links to a section within the same page?
a) src
b) href
c) id
d) target

a)

a

b)

b

c)

c

d)

d

5.

Which of the following is the correct way to create an internal link to a section with id about?
a) <a href="/about">About</a>
b) <a href="about.html">About</a>
c) <a href="#about">About</a>
d) <a href="@about">About</a>

a)

a

b)

b

c)

c

d)

d

6.

Which tag is used to create a multiline text input field?
a) <textbox>
b) <text>
c) <textarea>
d) <input type="textarea">

a)

a

b)

b

c)

c

d)

d

7.

Which input type is used to allow a user to choose one option from a group?
a) checkbox
b) submit
c) radio
d) text

a)

a

b)

b

c)

c

d)

d

8.

Which input type allows the user to select multiple options?
a) text
b) radio
c) checkbox
d) submit

a)

a

b)

b

c)

c

d)

d

9.

<form>

<input type="checkbox" X="malayalam" name="language" value="Malayalam">

<label for="malayalam">Malayalam</label><br>

<input type="checkbox" X="english" name="language" value="English">

<label for="english">English</label><br>

<input type="checkbox" X="hindi" name="language" value="Hindi">

<label for="hindi">Hindi</label><br>

</form>

What is the value of X

(a)