wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Code Quiz

Total questions: 21

Worksheet time: 11mins

Name
Class
Date
1.
True or False: HTML is a coding language used to create web pages.
a)
True
b)
False
2.
True or False: A web browser translates text-based HTML into a graphical web page.
a)
True
b)
False
3.
True or False: A hyperlink can be a word, phrase, or graphic.
a)
True
b)
False
4.
True or False: You must save a text file with a .html extention so a web browser can open it.
a)
True
b)
False
5.
True or False: A website's home page is typically named homepage.html.
a)
True
b)
False
6.
Which of the following tags is used to insert a blank line?
a)
<br>
b)
<h1>
c)
<hr>
d)
<p>
7.
The ___ tag set provides information to the browser about your webpage including the author name and keywords.
a)
<html></html>
b)
<body></body>
c)
<style></style>
d)
<meta></meta>
8.
Items in a(n) ___ list are preceded by numbers.
a)
unordered
b)
bulleted
c)
ordered
d)
grocery
9.
Images in your webpage may have the following extensions except
a)
.png
b)
.gif
c)
.jpg
d)
.psd
10.
A ___ allows users to move from one webpage to another.
a)
browser
b)
video
c)
HTML
d)
hyperlink
11.
True or False: The order of your <html>, <head>, and <body> tags is not important.
a)
True
b)
False
12.
True or False: The filenames that precede '.html' may not contain special characters, spaces, misspellings, or capital letters. 
a)
True
b)
False
13.
When your background is tiling, you should try to fix it by
a)
checking your screen resolution.
b)
resizing your image.
c)
Both checking your screen resolution and resizing your image.
d)
None of the above.
14.
The entire definition list should be enclosed within ___ and ___ tags.
a)
<dd></dd>
b)
<dt></dt>
c)
<dl></dl>
d)
<dvr></dvr>
15.
Where is the correct place to put the title tag in an HTML document?
a)
Above the HTML tag
b)
In the head of the document
c)
In the body of the document
d)
It doesn't matter
16.
How do you add a comment in a CSS file?
a)
/* this is a comment */
b)
// this is a comment //
c)
// this is a comment
d)
<! this is a comment>
17.
What does CSS stand for?
a)
Custom Style Sheets
b)
Colorful Style Sheets
c)
Computer Style Sheets
d)
Cascading Style Sheets
18.
The # symbol specifies that the selector is?
a)
class
b)
tag
c)
first
d)
id
19.
Which is the correct CSS syntax?
a)
{p:color=black(p}
b)
p {color: black;}
c)
{p;color:black}
d)
p:color=black
20.
How do you display hyperlinks without an underline?
a)
a {decoration:no underline}
b)
a {text-decoration:none}
c)
a {hyperlink:no underline}
d)
a {text-decoration:no underline}
21.
Which HTML tag is used to define an internal style sheet?
a)
<css>
b)
<script>
c)
<style>
d)
<iss>