wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML CodeHS Lessons 1-5 Review

Total questions: 15

Worksheet time: 9mins

Name
Class
Date
1.

What does this code do? <p>

a)

Period

b)

Paragraph

c)

Parenthesis

d)

Font

2.

How do you add an image?

a)

<img src-"insertpicture.jpg">

b)

<img scr="insertpicture.jpg">

c)

<img src=insertpicture.jpg>

d)

<img src="insertpicture.jpg">

3.

Which heading is the smallest?

a)

h3

b)

h2

c)

h1

d)

h4

4.

What does the <br> tag do?

a)

Hits "Enter" and starts a new line on the webpage.

b)

Makes the text bold.

c)

Makes the text italics.

d)

Puts the text in the tab of the browser.

5.

What is wrong with the hyperlink code?

a)

Nothing.

b)

Missing closing </a> tag

c)

No content between the opening <a> and closing </a> tags

d)

HREF is misspelled as HERF

6.

Which of these tags doesn't need a closing tag?

a)

<a href>

b)

<img>

c)

<b>

d)

<title>

7.

You are using an <h3> header tag. How can you make the text bigger?

a)

<h4> tag

b)

<title> tag

c)

<a href> tag

d)

<h2> tag

8.

What is the correct syntax for inserting an image?

a)

<img src> chipotleGuac.jpg </img>

b)

<src img="chipotleGuac.jpg">

c)

<img src="chipotleGuac.jpg">

d)

<src img> chipotleGuac.jpg </img>

9.

What is wrong with the following hyperlink?

a)

Nothing.

b)

The closing tag is missing the slash </a>

c)

There is no content between the opening and closing <a> tags.

d)

HREF is misspelled as HERF

10.

What is wrong with the following image tag?

a)

Nothing

b)

SRC is misspelled as SCR

c)

It is missing the closing </img> tag

d)

SRC comes before IMG

11.

Which of the following is the proper format for an HTML tag?

a)

>h1<Content Affected by Tag >/h1<

b)

<h1>Content Affected by Tag<h1>

c)

<h1 Content Affected by Tag />

d)

<h1>Content Affected by Tag</h1>

12.

What is generated from the HTML code:

a)
b)
c)
d)
13.

Which of the following classifies as metadata about a webpage?

a)

The tags that make up the body of the webpage

b)

A table on a webpage

c)

A list on a webpage

d)

The title of the webpage

14.

Which of the following best describes the difference between the domain and path of a URL?

a)

The domain specifies where the browser’s request should be sent.

The path specifies exactly what file is being requested.

b)

The domain specifies what kind of file is being requested.

The path specifies the name of the file being requested.

c)

The domain specifies the name of the file being requested.

The path specifies what kind of file is being requested.

d)

The domain specifies exactly what file is being requested.

The path specifies where the browser’s request should be sent.

15.

When a student sees this image in CodeHS, they are suppose to

a)

complete practice assignment

b)

review example code provided

c)

watch video

d)

answer multiple choice question