wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Y8 HTML & CSS

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
2.
Which of the following is the largest heading? 
a)
h2
b)
h3
c)
h4
d)
h6
3.
HTML uses
a)
Tabs
b)
Tags
c)
Labels
d)
Quotes
4.
HTML stands for...
a)
Hyper Text Markup Language
b)
High Tech Marking Language
c)
High Tech Modem Language
d)
Hyper Tech Markup Lexicon
5.
Which is the correct way of defining an HTML5 document?
a)
<!DOCTYPE html>
b)
<!DOCTYPE HTML5>
c)
<!DOCTYPE html "PUBLIC">
d)
<DOCTYPE html>
6.
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>
7.
Defines a paragraph
a)
<pr>
b)
<p>
c)
<para>
d)
<par>
8.
In HTML, a color can be specified by using what?
a)
Colour name
b)
RGB value
c)
HEX value
d)
All of these
9.
What is an HTML element?
a)
The starting tag
b)
The ending tag
c)
The content between the tags
d)
Everything from start to end tag
10.
Which is the correct HTML element for inserting a line break?
a)
<b>
b)
<lb>
c)
<br>
d)
<break>
11.
Which character is used to indicate an end tag?
a)
*
b)
<
c)
/
d)
^
12.

Which of the following is an opening HTML tag?

a)

</html>

b)

<<html>>

c)

<html>

d)

<html/>

13.

Which one of the following is a closing HTML tag?

a)

<html />

b)

</html>

c)

<</html>>

d)

<html>

14.

Which tag is used to add an image?

a)

<image>

b)

<img>

c)

<<img>>

d)

</image>

15.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

16.

Which is correct CSS syntax?

a)

{body; colour = black;}

b)

body: colour = black

c)

body {

colour : black;}

d)

{body colour is black}

17.

Which tag is used to display/contain all things shown on the webpage?

a)

/body

b)

<p>

c)

<body>

d)

<img>

18.

Which tag is an end tag?

a)

<body>

b)

</body>

c)

<p>

d)

<img>

19.

What symbols go around the properties for each CSS selector?

a)

< >

b)

[ ]

c)

{ }

d)

( )

20.

What does CSS stand for?

a)

Cascading Style Sheets

b)

Colorful Style Sheets

c)

Computer Style Sheets

d)

Creative Style Sheets