Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML REVISION

Total questions: 21

Worksheet time: 10mins

Name
Class
Date
1.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

2.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

<a herf="https://google.com">

Click Me

</a>

d)

<a href="https://google.com">

Click Me

</a>

3.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

4.

Which of the following contains a nested list

a)

<ul>

<li>Apples</li>

<li>Cookies</li>

<li>Milk</li>

</ul>

b)

<ul>

<li>Apples</li>

<li>

Cookies

<ul>

<li>Chocolate Chip</li>

<li>Peanut Butter</li>

</ul>

</li>

<li>Milk</li>

</ul>

5.

The <h1> tag marks what type of content?

a)

heading

b)

paragraph

c)

hyperlink

d)

unordered list

6.

The <img> tag is used to mark what type of content?

a)

graphics

b)

video

c)

hyperlinks

d)

data tables

7.

What is the tag for line breaking?

a)

<br/>

b)

<break>

c)

<line>

d)

<br>

8.

What are the 3 main parts of an HTML document ?

a)

head, paragraph tag, and html

b)

head, body and text header

c)

head, body and html

d)

html, body and tags

9.

What is an attribute ?

a)

additional informations about elements

b)

keywords which defines that how web browser will format and display the content.

10.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

11.

src attribute in an image tag means what?

a)

Source of the image

b)

Name of the image

c)

Description of the image

d)

Not used with image tag

12.

What should a HTML web page start with?

a)

<b>

b)

<li>

c)

<html>

d)

<start>

13.
Google Chrome, Mozilla Firefox and Microsoft Edge are all examples of what?
a)
Search engines
b)
Websites
c)
Web Browsers
d)
Text editors
14.

In the tag <img src="Piedmont.jpg"/> what is the file name?

a)

<img

b)

.jpg

c)

</>

d)

Piedmont.jpg

15.
Choose the correct answer.
a)
</p>
b)
:p
c)
p:
d)
<p>
16.
Choose the correct answer.
a)
<ol>
b)
</ul>
c)
<ul>
d)
</ol>
17.
Which of the following is the largest heading? 
a)
h2
b)
h3
c)
h4
d)
h6
18.
What is the correct HTML for creating a hyperlink?
a)
<a href="http://www.w3schools.com">W3Schools</a>
b)
<a url="http://www.w3schools.com">W3Schools.com</a>
c)
<a>http://www.w3schools.com</a>
d)
<a name="http://www.w3schools.com">W3Schools.com</a>
19.
Web Standards are decided on by who?
a)
Microsoft
b)
Apple
c)
W3C
d)
Google
20.
Which character is used to indicate an end tag?
a)
*
b)
<
c)
/
d)
^
21.
Which is the correct HTML element for underlining text?
a)
<ul>
b)
<uline>
c)
<u>
d)
<under>