wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Review

Total questions: 100

Worksheet time: 17mins

Name
Class
Date
1.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

2.

HTML stands for...

a)

Hyper Text Markup Language

b)

High Tech MachineLanguage

c)

High Tech Modem Language

d)

Hyper Tech Markup Lexicon

3.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
4.

The beginning tag works like the "on" switch and the ending tag works like the "off" switch.

a)

True

b)

False

5.

Everything visible on a web page goes between these two tags.

a)

<body> </body>

b)

<title> </title>

c)

<header> </header>

d)

None of the Above

6.

What is the proper code to link a stylesheet?

a)

style.html

b)

<img src= "image.jpeg>

c)

<stylesheet>

d)

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

7.

To add color to your html page in a css file, Which is correct?

a)

html { background-color: #006600;}

b)

html <color=green>

c)

css=green

d)

html<backgroundcolor: #006600>

8.

Which is the correct code for a numbered list?

a)

<ul>

<li> item one</li>

<li> item two</li>

</ul>

b)

<ol>

<li> item one</li>

<li> item two</li>

</ol>

c)

<list>

<li> item one</li>

<li> item two</li>

</list>

d)

<p>

<li> item one</li>

<li> item two</li>

</p>

9.

where does a title appear on a webpage?

a)
b)
c)
d)
10.

What are the basic tags to start a web page?

a)

<!DOCTYPE html>

<html>

<head> </head>

<title> </title>

<body> </body>

</html>

b)

<html>

<a> </a>

<p> </p>

<footer> </footer>

c)

<DOCTYPE>

<html>

<link> </link>

<ol> </ol>

<html>

d)

<!DOCTYPE html>

<body> </body>

<parapraph> </paragraph>

<title> </title>

<end> </end>

11.

What code is used for an ordered list?

a)

<ul> </ul>

b)

<ol> </ol>

c)

<list> </list>

d)

<p> </p>

12.

What code is used to make a bulleted list?

a)

<p> </p>

b)

<ol> </ol>

c)

<ul> </ul>

d)

<list> </list>

13.

Which list would you use for if you wanted to explain certain concepts?

a)

Ordered List

b)

Unordered List

c)

Definition list

14.

Which would be the correct code to implement an unordered list?

a)

<ol>

<li>...</li>

<ol/>

b)

<ul>

<li>...</li>

<ul/>

c)

<uol>

<li>...</li>

<uol/>

d)

<li>

<ul>...</ul>

<li/>

15.

Defines an unordered list in HTML.

a)

<li> Tag

b)

<ol> Tag

c)

<ul> Tag

d)

<br>Tag

16.

defines a list item inside an HMTL list.

a)

<ol>Tag

b)

<ul> Tag

c)

<br> Tag

d)

<li> Tag

17.

Allows adding several different types of styles to HTML elements.

a)

RGB Color Encoding

b)

HTML Tag

c)

<ul> Tag

d)

Style Attribute

18.

Minimum tag number h:

a)

1 - <h1>...</h1>

b)

2 - <h2>...</h2>

c)

6 - <h6>...</h6>

d)

8 - <h8>...</h8>

19.
What is a tag?
a)
A piece of text to explain the code
b)
A useful but not essential extra piece of code
c)
Text that tells a web browser how to display a page
d)
Parts of the code that were added later
20.
What is contained in the 'head' of the HTML code?
a)
All the commands
b)
All the instructions for that page
c)
The data to be displayed
d)
Information that isn't displayed
21.
Which tag starts the HTML file
a)
<H>
b)
<HTML>
c)
</HTML>
d)
<body>
22.
What is the purpose of this tag
</head>
a)
To start the head part of the file
b)
To end the head part of the file
c)
To stop the program
d)
To link to another web page
23.
Which tag starts a paragraph?
a)
<p>
b)
<para>
c)
</p>
d)
<paragraph>
24.
Which tag is used to make the text a heading?
a)
<header>
b)
<bigger>
c)
<h>
d)
<h1>
25.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

26.

This coding is used to create a paragraph:

a)

<pr></pr>

b)

<p></p>

c)

<para></para>

d)

<par></par>

27.
Google, Bing and Yahoo are all examples of what?
a)
Web browsers
b)
Search engines
c)
Web engines
d)
Text editors
28.
Google Chrome, Mozilla Firefox and Microsoft Edge are all examples of what?
a)
Search engines
b)
Websites
c)
Web Browsers
d)
Text editors
29.

Which of the following codes starts a set of HTML code?

a)

<html>

b)

<doctype html>

c)

<!DOCTYPE HTML>

d)

<doctype><html>

30.

Which of the following symbols indicates an ending tag in HTML?

a)

;

b)

/

c)

<>

d)

!

31.

How do you set up the body for your html web page?

a)

<b>

b)

<bo>

c)

<body>

d)

<doc>

32.

Which of the following lists includes EVERY type of code needed to make an unordered list?

a)

<ab> ... <li> .... </li> ... </ab>

b)

<unL> ... <li> .... </li> ... </unL>

c)

<ol> ... <li> .... </li> ... </ol>

d)

<ul> ... <li> .... </li> ... </ul>

33.

When should you use the <ol> code to make a list?

a)

Steps for a recipe

b)

Top 10 items

c)

List of names

d)

None of the above

34.

When should you use the <ul> code to make a list?

a)

Top 5 Chef Favorites

b)

Ingredients list

c)

Steps to complete a recipe

d)

None of the above

35.

What is the difference between HTML and CSS?

a)

HTML provides the content, CSS provides the pictures

b)

HTML provides the structure & content, CSS provides the color / look of the web page

c)

HTML and CSS are the same thing

d)

None of the above

36.

How can you select all of the h3 tags on the webpage at one time to change the font color to blue?

a)

#allh1s { color: blue; }

b)

#h1 {blu}

c)

h1 {color: blue;}

d)

<h1 font-color="blue">

37.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
38.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
39.
The content of the web (such as your pictures, text, links) will show up here. 
a)
Head
b)
Body
c)
Style
d)
Folder
40.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
41.
</h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
42.
<!DOCTYPE> 
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
43.
What does the tag <br> indicate?
a)
ordered list
b)
image
c)
paragraph
d)
break
44.
This tag in<a href= indicate a hyperlink.
a)
True
b)
False
45.
Software used to look at webpages...
a)
Browser
b)
Navigator
c)
Notepad
d)
File System
46.
What is the difference between an HTML Tag and an HTML element?
a)
An HTML Tag is case sensitive and an HTML element is not case sensitive.
b)
An HTML Tag is always paired and an HTML element is an "empty" tag.
c)
An HTML Tag defines content and an HTML Element includes the opening and closing tags and everything in between.
d)
An HTML Tag defines content and an HTML Element gives additional meaning and content.
47.
Karen wants to begin a new line within a paragraph of text on a webpage. Which code should she use?
a)
<li>
b)
<h1>
c)
<hr>
d)
<br>
48.
Which item refers to the start tag, the end tag and everything in between?
a)
HTML Element
b)
HTML Tag
c)
HTML Attribute
d)
CSS
49.
Annie wants the name of her product to be the main heading at the top of her webpage. Which tag defines
the main heading in a web document?
a)
<h3>Product</h3>
b)
<h5>Product</h5>
c)
<h1>Product</h1>
d)
<h6>Product</h6>
50.

Which of the following is the code for a paragraph to be blue?

a)

<td style=“background-color:blue;”>

b)

<h1 style=“font-size:60px;”>

c)

<p style=“color:blue;”>

d)

<tagname style=“property:value;”>

51.

A shorthand property used to specify the individual border properties: border-width, border-style and border-color.

a)

border-bottom

b)

border

c)

border-left

d)

border-top

52.
What does CSS stand for? 
a)
Creative Style Sheets
b)
Cascading Style Sheets
c)
Colorful Style Spread
d)
Computer Style Spread
53.
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
54.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
55.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
56.
Which is the value in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
57.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.
58.
How can you make a bulleted list?
a)
<ol>
b)
<ul>
c)
<list>
d)
<dl>
59.
The style that you are applying to a selector, e.g. border.
a)
Property
b)
Value
c)
Keyword
d)
Length Units
60.
Which is the selector in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
61.

What is wrong with this code?

a)

The style sheet <link> statement belongs between <head> and </head>

b)

The style sheet <link> statement belongs between <title> and </title>

c)

The style sheet <link> statement belongs between </head> and <body>

d)

The style sheet <link> statement belongs immediately after the DOCTYPE statement

62.

The CSS border properties allow you to specify the ___________ of an element's border.

a)

Width and style

b)

Style and color

c)

Color and style

d)

Style, Color and Width

63.

What are the three types of style sheet

a)

Internal, external, inline

b)

Inline, internal, extreme

c)

Insidious, internal, external

d)

None of the above

64.

<link type="stylsheet" href="exx.css"> belongs to

a)

External

b)

Internal

c)

Inline

d)

None of the above

65.

When CSS is written inside HTML it will be saved as

a)

css

b)

Jsp

c)

html

d)

php

66.

External css file will be saved as

a)

.css

b)

.html

c)

.php

d)

None of the above

67.

A collection of documents located on the Internet by an address is called the ______________.

a)

World Wide Web (www)

b)

Cascading Style Sheet (CSS)

c)

Hypertext Markup Language (HTML)

d)

website

68.

A standardized way to create documents so a web browser could display them is ______________.

a)

Hypertext Markup Language (HTML)

b)

Cascading Style Sheet (CSS)

c)

Rule

d)

World Wide Web (www)

69.

A collection of linked documents is ________________.

a)

website

b)

web page

c)

web browser

d)

World Wide Web (WWW)

70.

Individual documents within the website are called _______________.

a)

web page

b)

inline element

c)

web browser

d)

Cascading Style Sheet (CSS)

71.

________________ are embedded into HTML file within the element being formatted.

a)

inline style

b)

internal style

c)

inline element

d)

external style

72.

________________ are defined in the <head> section of the HTML file.

a)

internal styles

b)

inline element

c)

external style

d)

hypertext

73.

Similar to internal styles, but contained in a separate CCS file with the .css file extension is called _______________.

a)

external styles

b)

Cascading Style Sheet (CSS)

c)

copyright

d)

element

74.

_______________ is the ownership of a creative work.

a)

copyright

b)

rule

c)

Cascading Style Sheet (css)

d)

website

75.

HTML code element that does not start a new line and uses only as much space as it needs is called _________________.

a)

inline element

b)

external style

c)

hypertext

d)

inline style

76.

Software used to retrieve and display hypertext documents is called ______________.

a)

web browser

b)

inline style

c)

rule

d)

inline element

77.

CSS stands for (a)   .

78.

Which of these CSS rule are the declaration property/ies?

a)

color

b)

text-align

c)

color and text-align

79.

Which of the following does this CSS rule mean?

a)

only <p> elements with class=center will be right-aligned.

b)

only <p> elements with class="center" will be right-aligned and the text will be colored red.

c)

only <p> elements with class="center" will be center-aligned and the text will be colored red.

80.

Which rule will change the font of the text?

a)

font-size

b)

text-align

c)

font-family

d)

text-decoration

81.

Which rule is used to change the size of text?

a)

font-size:12px;

b)

font-height:12px;

c)

text-size:12px;

d)

size:12px;

82.

Which type of CSS is placed directly within the HTML tags?

a)

Internal

b)

Inline

c)

External

d)

Included

83.

What is wrong with the CSS applied below?

a)

It should say style:colour=red

b)

It should say style="color:red;"

c)

It should say "style=color:red;"

d)

It should say style="font-color:red;"

84.

Which of the following lines of code will correctly set the color of text inside a <h2> element to blue, when found in an external CSS file?

a)

h2 {color: blue;}

b)

h2 {text-color:blue;}

c)

style="h2:color,blue;"

d)

h2 text-color:blue

85.

What does this code do?

<style type="text/css">p{color: blue;}</style>

a)

creates blue text anywhere "text/css" appears on the web page

b)

makes every "p" text character on the web page blue

c)

creates a web page with a blue background

d)

defines a blue color for text inside a paragraph element

86.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

87.

You need a closing tag for an image without text

a)

True

b)

False

88.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
89.

What is the difference between a <h1> and a <h3> tag?

a)

<h1> is bigger than <h3>

b)

<h3> is bigger than <h1>

c)

<h1> cannot be used for titles

d)

<h3> cannot be used for titles

90.

Some of you managed to work with CSS style statements. What does the following statement do: color:blue;

a)

It turns the page blue

b)

It turns the text blue

c)

It turns the page anything but blue

d)

It makes a blue box around an image

91.

How well have you understood this topic?

a)

Not well

b)

Sort of well

c)

Quite well

d)

Very well

92.

On this tag, you can add all the formatting and designing that you want for a specific line, text, or picture.

a)

!doctype

b)

html

c)

style

d)

head

93.

Which of these shows the correct structure of a html document?

a)

b)

c)

d)

94.

You want to display a paragraph of text on your webpage.

Where should you include the element: <p> blablabla </p> ?

a)

In between the <head> tags

b)

In between the <body> tags

c)

In between the </head> and <body> tags

d)

Just after the <html> tag

95.
What will happen to the text in blue?   <p>He named his car <i>The lightning</i>, because it was very fast.</p>
a)
the content will be displayed in italic
b)
the content will display an image
c)
the content defines text inserted into a document
96.

<u>Hello, World!</u>

a)

Hello, World!

b)

Hello, World!

c)

Hello, World!

d)

Hello, World!

97.

What describes the structure of Web pages using mark up?

a)

HTML

b)

Sublime

c)

Web browser

d)

URL

98.

What are the building blocks of HTML pages?

a)

HTML Elements

b)

HTML Tags

c)

Headings

d)

Paragraph

99.

What element begins and ends each and every web page?

a)

html

b)

head

c)

title

d)

body

100.

The “meat” of HTML document program ?

a)

html

b)

head

c)

title

d)

body