wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

BL : HTML & CSS

Total questions: 30

Worksheet time: 14mins

Name
Class
Date
1.
The World Wide Web Consortium (W3C) plays which role in the web development standards?
a)
It creates websites accessible to everyone.
b)
It develops the standards for HTML and CSS.
c)
It develops web browsers.
d)
It is the agency that controls the World Wide Web.
2.
What tag defines the beginning of a webpage?
a)
<html>
b)
<h1>
c)
<p>
d)
<body>
3.
A properly coded HTML tag will always be found between which two symbols?
a)
( )
b)
{ }
c)
[ ]
d)
< >
4.
Anthony is creating a webpage on seals. To ensure that his page can be found through Google, Anthony must include pertinent information in which tag section?
a)
head
b)
meta
c)
  body
d)
nav
5.
When using a text editor, what file extension(s) must be used when saving as a web document?
a)
txt
b)
html or htm
c)
doc
d)
css
6.
Which tag provides information about a web site?
a)
<body>
b)
  <html>
c)
<meta>
d)
<title>
7.
Which item interprets the source code in a web document?
a)
Text editor
b)
Web browser
c)
  HTML editor
d)
Web server
8.
Between which paired tags would the visible content of a webpage be displayed?
a)
<html></html>
b)
<head></head>
c)
<body></body>
d)
<title></title>
9.
Which tag defines the visible content of a web document?
a)
<head>
b)
<meta>
c)
<title>
d)
<body>
10.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
11.
What is the function of the <p> tag?
a)
Defines a paragraph.
b)
Makes the text purple.
c)
It pushes the text to the right.
d)
Prints the webpage.
12.
What is the correct HTML element for inserting a line break?
a)
<lb>
b)
<br>
c)
<break>
d)
<bk>
13.
Multimedia can be embedded in an HTML document.
a)
Yes
b)
No
14.
Choose the correct tag for the largest heading:
a)
h6
b)
heading
c)
head
d)
h1
15.

Which of the following is an opening HTML tag?

a)

</html>

b)

<<html>>

c)

<html>

d)

<html/>

16.

Which one of the following is a closing HTML tag?

a)

<html />

b)

</html>

c)

<</html>>

d)

<html>

17.

Which tag is used to add an image?

a)

<image>

b)

<img>

c)

<<img>>

d)

</image>

18.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

19.

What is missing from this HTML skeleton?


<!DOCTYPE html>

<html>

<body>

</body>

</html>

a)

<head></head>

b)

<div></div>

c)

<img></img>

d)

<head>

20.

What tag do you use to make a numbered list?

a)

<list>

b)

<ol>

c)

<li>

d)

<ul>

21.

How do you change the font color with CSS?

a)

font-color: green;

b)

color: green;

c)

change-font-color: green;

d)

fontcolor=green;

22.

Where should you put the link tag to connect your CSS and HTML file?

a)

Between the <head> </head> in HTML

b)

Between the <body> </body> in HTML

c)

None of the above.

23.

Which of the following is the correct CSS link tag?

a)

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

b)

<link href="stylesheet">

c)

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

d)

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

24.
Used to change the look of the text (ex. monospace, fantasy, etc.)
a)
font-size
b)
font-weight
c)
font-family
d)
font-style
25.
Changes color of text
a)
h2 {color:rgb(blue);}
b)
h2 {background-color: rgb(blue);}
c)
h2 {font-family:sans-serif;}
d)
h2 {font-weight: bold;}
26.
ID tag used within HTML
a)
<a></a>
b)
#word
c)
<p id="word">
d)
<id></id>
27.
What does CSS stand for? 
a)
Creative Style Sheets
b)
Cascading Style Sheets
c)
Colorful Style Spread
d)
Computer Style Spread
28.
Where in the HTML document is the correct location to insert code to link to your external CSS? 
a)
In the <head> section
b)
In the <body> section
c)
At the very end of the document
d)
At the very beginning of the document
29.
Which is the correct way to format a Font Family for a paragraph?
a)
p { font-face: Arial; }
b)
p { family-font: Arial; }
c)
p { font-family: Arial; }
d)
p { font: Arial; }
30.
The code for the comment tag in CSS is
a)
<!-- comment -->
b)
<!-- comment >
c)
/* comment /*
d)
/* comment */