wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

midterms in web design

Total questions: 68

Worksheet time: 34mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyper Tremendous Movie Lines

b)

Hyper Text Markup Language

c)

Hey Thanks for Making me Late

2.

<h1> is an example of a _______.

a)

Headline Tag

b)

Paragraph Tag

c)

filename

3.

<p> is a _______ tag.

a)

image

b)

paragraph

c)

filename

4.

Web pages starts with which of the following tag?

a)

<form>

b)

<HTML>

c)

<body>

d)

<Title>

5.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

6.

HTML controls the _________ of a webpage.

a)

feel

b)

precision

c)

structure

d)

style

7.

<p> is the opening tag for a _____________

a)

page

b)

paragraph

c)

preorder

d)

period

8.

What defines the beginning and ending of the visible part of a webpage?

a)

<head> main part of the document </body>

b)

<body> main part of the document </html>

c)

d) </body> main part of the document <html>

d)

<body> main part of the document </body>

9.

Which character is used to indicate an end tag?

a)

!

b)

#

c)

/

d)

\

10.

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>

11.

What is the correct HTML element for inserting a line break?

a)

<lb>

b)

<BREAK>

c)

<br>

d)

<break>

12.

Which set contains all of the DEFAULT tags needed to create a webpage?

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<main>

</main>

</body>

</html>

b)

<html>

<head>

</head>

<body>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

</head>

</html>

d)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

</body>

e)

<!DOCTYPE html>

<html>

<head>

<title>

</title>

</head>

<body>

</body>

</html>

13.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

14.

<p> is the opening tag for a _____________

a)

page

b)

paragraph

c)

preorder

d)

period

15.

What defines the beginning and ending of the visible part of a webpage?

a)

<head> main part of the document </body>

b)

<body> main part of the document </html>

c)

d) </body> main part of the document <html>

d)

<body> main part of the document </body>

16.

What is the correct syntax for defining a hyperlink in HTML?

a)

<a href=”url”> Link text </a>

b)

<a href=”url”> Link text <a>

c)

<a=”url”> Link text <a>

d)

<ref=”url”> Link text <a>

17.

How can you make a list that has no particular order?

a)

<ol> </ol>

b)

<ul> </ul>

c)

<ol> <li>

d)

<li> </ul

18.

You need a closing tag for an image without text

a)

True

b)

False

19.

Which of the following contains a nested list

a)

<ul>

<li>Apples</li>

<li>Cookies</li>

<li>Milk</li>

</ul>

b)

<ul>

<li>Apples</li>

<li>

Cookies

<ul>

<li>Chocolate Chip</li>

<li>Peanut Butter</li>

</ul>

</li>

<li>Milk</li>

</ul>

20.

The "href" of an anchor tag and the "src" of an image tag are both examples of an

(a)  

21.

Where does the content of the <title> element show up in the browser?

a)

At the top of the page.

b)

In the browser tab.

c)

It's metadata, so it doesn't show up.

d)

At the bottom of the page.

22.

What tag adds an image to the page?

a)

<image>

b)

<pic>

c)

<img>

23.

Which of the following are inline elements?

a)

<span>

b)

<p>

c)

<h1>

d)

<em>

e)

<div>

24.

"/images/portrait.png" is an example of a(n) _______ url.

a)

relative

b)

absolute

25.

This tag tells the computer this is a document written in HTML.

a)

<p>

b)

<!DOCTYPE html>

c)

<h1>

d)

<html>

26.

This tag indicates the beginning of your code written in HTML.

a)

<li>

b)

<!DOCTYPE html>

c)

<html>

d)

</html>

27.

This tag contains information about your webpage, also called the metadata.

a)

<head>

b)

<header>

c)

<title>

d)

<body>

28.

This tag contains all the main contents of your webpage.

a)

<body>

b)

<head>

c)

<contents>

d)

<p>

29.

These tags define the start & end of a paragraph. Paragraphs are blocks of text on your web page.

a)

<p>

b)

<P>

c)

</p>

d)

<h1>

30.

This tag defines a heading at the smallest size.

a)

<h6>

b)

<h2>

c)

<h7>

d)

<h1>

31.

This tag defines a heading at the largest size.

a)

<h1>

b)

<h20>

c)

<h3>

d)

<h2>

32.

HTML stands for...

(a)  

33.

This file name is used for the main page of your website.

a)

main.html

b)

index.html

c)

start.html

d)

mysite.html

34.

Which of the following is not a heading tag?

a)

<h7>

b)

<h1>

c)

<h2>

d)

<h4>

35.

A piece of a website, marked by a start tag and often closed with an end tag.

a)

HTML Element

b)

HTML Object

c)

HTML Piece

d)

HTML Tag

36.

Match the correct end tag...

<p>

a)

<p/>

b)

<\p>

c)

</p>

d)

</P>

37.

Match the correct end tag...

<body>

a)

</body>

b)

<\body>

c)

</BODY>

d)

<body/>

38.

This is a title or summary for a document or section of a document.

a)

Heading

b)

Paragraph

c)

Mini-title

d)

Header

39.

This tag can be used to break line of text (move to a new line) inside a paragraph.

a)

<br>

b)

<break>

c)

<bl>

d)

<nl>

40.

This tag defines an element of a list.

a)

<li>

b)

<el>

c)

<ol>

d)

<ul>

41.

Fill in the blank to complete the line of code for inserting an image

< ___ src = "image.jpg">

a)

image

b)

picture

c)

igm

d)

img

42.

Which of the following comments describes the purpose of CSS?

a)

Controls the appearance of the webpage.

b)

Lays out the content of the webpage.

c)

Ensures a webpage is secure.

d)

Helps the webpage refresh.

43.

True/False! HTML controls how a webpage's content is laid out.

a)

True

b)

False

44.

Which of the following tags is used for title?

a)

<p></p>

b)

<header></header>

c)

<h1></h1>

d)

<b></b>

45.

Which of the following is not a good rule of thumb for designing a webpage?

a)

Appropriate sized images.

b)

Contrasting background & font colours.

c)

Include a font enlarger.

d)

Matching background & font colours.

46.

Fill in the blank for the html code to create a link:

< a _____="https://www.w3schools.com/">Visit W3Schools.com!</a>

a)

link

b)

href

c)

ref

d)

webpage

47.

Which of the following examples of HTML code creates the following:

Mr Coleman teaches computing.

a)

<p><i>Mr Coleman teaches computing.</i></p>

b)

<p><i>Mr Coleman teaches <ul>computing.</ul></i></p>

c)

<p><i>Mr Coleman teaches <u>computing.</u></i></p>

48.

Which of the following matches the output from the HTML code below?

<p><u>Hello <i>there<i><u><p>

a)

Hello there

b)

Error

c)

Hello there

d)

Hello there

49.

Which of the following is needed to insert a YouTube video?

a)

Embedded Link

b)

Embedded Code

c)

Embedded Video Address

d)

Embedded URL

50.

Why won't this line of HTML code work?

<p><b>Hello Year 8<p><b>

a)

You need to use {} instead of <>

b)

8 needs to be spelled in letters like eight

c)

No / in the end tags

51.

Which of the following isn't a good design rule when making a website

a)

Use text & background colours that are different e.g. red & white

b)

Bold and underline important information

c)

Alter image sizes so that they fit the webpage

d)

Make the text as small as possible

52.

Use the options to fill in the blank space.

<img src = "__________">

a)

TURTLE.JPG

b)

Turtle.jpg

c)

turtle.jpg

d)

turtle jpg

53.

What is missing from the following piece of code?

<img ___ = "turtle.jpg">

a)

scr

b)

source

c)

rce

d)

src

54.

What is HTML?

a)

HyperText Markup Language

b)

HighTower Makeup Language

c)

Plain Text on Documents

d)

Expensive Types of Candy

55.

What is the purpose of HTML?

a)

To control space and time

b)

To create webpages

c)

To confuse and infuriate users

d)

To provide Webpage security

56.

Select the tags below:

a)

<body>

b)

/body

c)

<p>

d)

<img>

57.

Which tag is used to display/contain all things shown on the webpage?

a)

<body>

b)

/body

c)

<p>

d)

<img>

58.

Which tag is used to display images on webpages?

a)

<body>

b)

/body

c)

<p>

d)

<img>

59.

Which answer is not a tag?

a)

<body>

b)

/body

c)

<p>

d)

<img>

60.

Which tag is an end tag?

a)

<body>

b)

</body>

c)

<p>

d)

<img>

61.

Which tag is used to display a heading such as "Welcome to my Webpage?"

a)

<body>

b)

<img src = >

c)

<head>

d)

<h1>

62.

Which tags are used to create a paragraph?

a)

<body></body>

b)

<img src = ></img>

c)

<p></p>

d)

<h1></h1>

63.

Identify the tags that contain attributes. Select all that apply.

a)

<body bgcolor = >

b)

<img src = >

c)

<head>

d)

<h1 align =>

64.

What is CSS?

a)

Cats Seeking Shelter

b)

Cascading Style Sheets

c)

Campers Sleeping Silently

d)

Code Syncing Selectors

65.

What does CSS do to webpages?

a)

It adds more HTML to the website automatically

b)

It makes coding HTML harder and is not worth it

c)

It makes the page look 'Hot'! Adding pleasing visual features to websites

d)

Removes all interesting elements from the webpage

66.

What language is used to define the structure of a webpage?

a)

HTML

b)

CSS

c)

JavaScript

d)

French

67.

What language is used to add style to a webpage?

a)

HTML

b)

CSS

c)

JavaScript

d)

French

68.

What language is used to add style to a webpage?

a)

HTML

b)

CSS

c)

JavaScript

d)

French