Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Web Design Review

Total questions: 26

Worksheet time: 13mins

Name
Class
Date
1.

Which HTML tag is used to define the most important heading?

a)

<title>

b)

<h6>

c)

<head>

d)

<h1>

2.

What does HTML stand for?

a)

Hyperlinks and Text Markup Language

b)

HyperText Markup Language

c)

Home Tool Markup Language

d)

Hyperlink Text Management Language

3.

What is the purpose of the <a> tag in HTML?

a)

To create a paragraph

b)

To add an image

c)

To define a link

d)

To make text bold

4.

How do you insert a line break in HTML?

a)

<break>

b)

<lb>

c)

<br>

d)

<hr>

5.

What is the purpose of HTML tags?

a)

To style webpages

b)

To mark up the text of a document and inform the browser how it should be displayed

c)

To add hyperlinks to documents

d)

To store user data

6.

HTML tags are enclosed in

a)

Curly braces {}

b)

Square brackets[]

c)

Angle brackets <>

d)

Double quotes " "

7.

Which type of list uses the <ol> tag?

a)

Ordered list

b)

Unordered list

c)

Description list

d)

Navigation List

8.

What tag is used for items in both ordered and unordered lists?

a)

<ul>

b)

<ol>

c)

<li>

d)

<item>

9.

The style attribute in HTML can be used to:

a)

Define font sizes and colors

b)

Create hyperlinks

c)

Define table structures

d)

Add JavaScript functions

10.

Which of the following is a valid HTML tag?

a)

h1

b)

<>

c)

<h1>

d)

>h1<

11.

Which of the following is an example of metadata about a webpage?

a)

The title of the webpage

b)

The body of the webpage

c)

an <h1> tag on the webpage

d)

The <p> tag on the webpage

12.

What is the function of the <br> tag?

a)

Create a line break on the webpage

b)

Create a horizontal line on the webpage

c)

Italicize text

d)

Bold Text

13.

What is the function of the <hr> tag?

a)

Create a line break on the webpage

b)

Create a horizontal line on the webpage

c)

Italicize text

d)

Bold text

14.

What is the function of the <em> tag?

a)

Create a line break on the webpage

b)

Create a horizontal line on the webpage

c)

Italicize text

d)

Bold text

15.

What is the function of the <strong> tag?

a)

Create a line break on the webpage

b)

Create a horizontal line on the webpage

c)

Italicize text

d)

Bold text

16.

Which of the following is the correct HTML code to create a hyperlink that displays "Click Me" and links to google.com?

a)

<a href="https://google.com">

    Click Me

</a>

b)

<a href="Click Me">

    https://google.com

</a>

d)

<a>

    Click Me

</a href="https://google.com">

17.

Which of the following lines of HTML code will insert an image into a webpage?

18.

Which of the following HTML code snippets would produce the list shown.

a)

<ul>

    Apples

    Bananas

    Oranges

</ul>

b)

<ol>

    Apples

    Bananas

    Oranges

</ol>

c)

<ul>

    <li>Apples</li>

    <li>Bananas</li>

    <li>Oranges</li>

</ul>

d)

<ol>

    <li>Apples</li>

    <li>Bananas</li>

    <li>Oranges</li>

</ol>

19.

Which of the following HTML code snippets would produce the list shown.

a)

<ul>

    Apples

    Bananas

    Oranges

</ul>

b)

<ol>

    Apples

    Bananas

    Oranges

</ol>

c)

<ul>

    <li>Apples</li>

    <li>Bananas</li>

    <li>Oranges</li>

</ul>

d)

<ol>

    <li>Apples</li>

    <li>Bananas</li>

    <li>Oranges</li>

</ol>

20.

Which of the following HTML code snippets is the proper way to set the background color of an <h1> tag to be blue?

a)

<blue>

    <h1>Hello</h1>

</blue>

b)

<h1 background-color="blue">Hello</h1>

c)

<h1 style="blue">Hello</h1>

d)

<h1 style="background-color: blue;">Hello</h1>

21.

Which of the following HTML code snippets is the proper way to set the text color of an <h1> tag to be blue?

a)

<h1 style="background-color: blue;">Hello</h1>

b)

<h1 background-color="blue">Hello</h1>

c)

<h1 style="blue">Hello</h1>

d)

<h1 style="color: blue;">Hello</h1>

22.

Why do we use CSS? (Select all that apply)

a)

HTML wasn't intended to be able to style web pages, CSS allows us to add style.

b)

Separate the content of a web page from the design of a web page

c)

Easily modify the look and feel of a website even at a large scale

23.

Which of the following is a valid CSS rule?

a)

h1 {

    color: blue;

}

b)

style="color:blue;"

c)

css="color:blue;"

d)

h1 {

    color {

        blue;

    }

}

24.

Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?

a)

<img style="height:200px;">

b)

tag="img" {

    height: 200px;

}

c)

img {

    height: 200px;

}

d)

<img> {

    height: 200px;

}

25.

Which tag defines the visible content of a web document?

a)

<head>

b)

<title>

c)

<meta>

d)

<body>

26.

Annie wants the name of her product to be the main heading at the top of her webpage. Which tag defines the main heading of a web document?

a)

<h3>Product</h3>

b)

<h1>Product</h1>

c)

<h5>Product</h5>

d)

<h6>Product</h6>