wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML PRACTICE QUESTIONS

Total questions: 169

Worksheet time: 1hrs 24mins

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.

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

a)

<p>

b)

<!DOCTYPE html>

c)

<h1>

d)

<html>

13.

This tag contains all the main contents of your webpage.

a)

<body>

b)

<head>

c)

<contents>

d)

<p>

14.

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

a)

<p>

b)

<P>

c)

</p>

d)

<h1>

15.

This tag defines a heading at the smallest size.

a)

<h6>

b)

<h2>

c)

<h7>

d)

<h1>

16.

This tag defines a heading at the largest size.

a)

<h1>

b)

<h20>

c)

<h3>

d)

<h2>

17.

Match the correct end tag...

<p>

a)

<p/>

b)

<\p>

c)

</p>

d)

</P>

18.

<p> is a _______ tag.

a)

image

b)

paragraph

c)

filename

19.

What does HTML stand for?

a)

Hyper Tremendous Movie Lines

b)

Hyper Text Markup Language

c)

Hey Thanks for Making me Late

20.

Web pages starts with which of the following tag?

a)

<form>

b)

<HTML>

c)

<body>

d)

<Title>

21.

In this code <img src

What does img stand for?

a)

iMac

b)

image

c)

amazing

d)

emma

22.

What does HTML stand for?

a)

Hyper Tremendous Movie Lines

b)

Hyper Text Markup Language

c)

Hey Thanks for Making me Late

23.

<h1> is an example of a _______.

a)

Headline Tag

b)

Paragraph Tag

c)

filename

24.

<p> is a _______ tag.

a)

image

b)

paragraph

c)

filename

25.

Web pages starts with which of the following tag?

a)

<form>

b)

<HTML>

c)

<body>

d)

<Title>

26.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

27.

HTML controls the _________ of a webpage.

a)

feel

b)

precision

c)

structure

d)

style

28.

<p> is the opening tag for a _____________

a)

page

b)

paragraph

c)

preorder

d)

period

29.

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>

30.

Which character is used to indicate an end tag?

a)

!

b)

#

c)

/

d)

\

31.

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>

32.

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

a)

<lb>

b)

<BREAK>

c)

<br>

d)

<break>

33.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

Hyper Transfer Message Language

c)

Home Tool Markup LanguageHyperlinks

d)

Text Markup Language

34.

The <title> element must be located inside

a)

the <head> element

b)

the <body> element

35.

Which HTML element defines the title of a document?

a)

<meta>

b)

<title>

c)

<head>

36.

Browsers do not display the HTML tags ?

a)

True

b)

False

37.

The start tag is also called the ...................

a)

closing tag.

b)

opening tag

c)

Middle tag

d)

Declaring tag

38.

Web pages starts with which of the following tag?

a)

<Body>

b)

<Title>

c)

<HTML>

d)

<Form>

39.

Which tag we use to create paragraph ?

a)

<p> and </p>

b)

<I> and </I>

c)

<hr> and </hr>

d)

<U> and </U>

40.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

41.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

42.

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>

43.

Which character is used to indicate an end tag?

a)

!

b)

#

c)

/

d)

\

44.

A _______ Is A computer on the internet that is used for storing and running websites.

a)

Command

b)

Server

c)

HTML 5

d)

Ram

45.

Which element would I use to make a level 3 heading

a)

<h1>

b)

<h3>

c)

<heading>

d)

<heading3>

46.

1. What does HTML stand for?

a)

HyperText Markup Language

b)

Hot Mail

c)

How to Make Lasagna

47.

2. How many tags are in a regular HTML element?

a)

1

b)

2

c)

3

48.

3. What is the difference between an opening tag and a closing tag?

a)

The opening tag has a / in front

b)

The closing tag has a / in front

c)

There is no difference

49.

4. What type of tag is < li>?

a)

List tag

b)

An italics tag

c)

A line tag

50.

5. Is < body > an opening tag or a closing tag?

a)

Opening

b)

Closing

51.

6. Is < / body > an opening tag or a closing tag?

a)

Opening

b)

Closing

52.

7. Where is the meta tag only found?

a)

The last page

b)

The home page

c)

The second page

d)

Every HTML page

53.

8. Which is the correct way to tag an image?

a)

src=”myimage.jpg” alt=”type some text”

b)

Src=”myimage.jpg” alt=”type some text”

54.

9. What is an element that does not have a closing tag called?

a)

Tag

b)

Empty element

c)

Closed element

55.

10. Which of the following is the correct example of an empty IMG element?

a)

< img / >

b)

< img > < / img >

c)

< / img>

56.

11. What should values always be enclosed in?

a)

Quotation marks

b)

Commas

c)

Parenthesis

57.

12. Where do all items for the same website need to be saved?

a)

In the same folder

b)

Where ever is fine

c)

In different folders

58.

13. What does <a href =”http://www.youtube.com“ title = ”Go to Google” target=”_blank”> Google </a> do?

a)

Adds a link to google on the page

b)

Adds a search engine to the page

c)

Nothing

d)

Adds a link to YouTube on the page

59.
Choose the correct HTML element for the largest heading:
a)
<head>
b)
<h1>
c)
<heading>
d)
<h6>
60.
What is HTML stands for?
a)
Hyper text make up language
b)
Hyperlinks text make up language
c)
Home tool mark up language
d)
Hyper text mark up language
61.

Choose the correct HTML element for the smallest heading:

a)
<head>
b)
<h1>
c)
<heading>
d)
<h6>
62.
What is the correct HTML element for inserting a line break?
a)
<lb>
b)
<br>
c)
<break>
d)
<bk>
63.

What is the correct HTML for adding a table background color?

a)

<Table bgcolor="pink">

b)

<Table backgroundcolor=

"pink">

c)

<Table bgcolour="pink">

d)

None of these

64.
Which character is used to indicate an end tag?
a)
~
b)
/
c)
*
d)
<
65.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
66.
Which tag is used for making a horizontal line?
a)
<hor>
b)
<hr>
c)
<horizontal>
d)
<hl>
67.
Which tag is used to create an image?
a)
<image>
b)
<src>
c)
<img>
d)
<a>
68.
Which tag is used for scrolling the text?
a)
<scroll>
b)
<textscroll>
c)
<marque>
d)
<marquee>
69.

How to create table headings within the table

a)

<TD>

b)

<TH>

c)

<TABLE>

d)

None of these

70.

How to create ordered lists in HTML?

a)

<OL>

b)

<UL>

c)

<DL>

d)

None of these

71.

Which tag is used to create tables in HTML

a)

<TR>

b)

<TD>

c)

<TABLE>

d)

<TC>

72.

Which tag is used to create hyperlinks in HTML?

a)

<Hyper>

b)

<anchor>

c)

<img>

d)

None of these

73.

How to create web forms in HTML?

a)

<FRAME>

b)

<FORM>

c)

<A>

d)

<IMG>

74.

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

a)

<p>

b)

<!DOCTYPE html>

c)

<h1>

d)

<html>

75.

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

a)

<li>

b)

<!DOCTYPE html>

c)

<html>

d)

</html>

76.

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

a)

<head>

b)

<header>

c)

<title>

d)

<body>

77.

This tag contains all the main contents of your webpage.

a)

<body>

b)

<head>

c)

<contents>

d)

<p>

78.

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>

79.

This tag defines a heading at the smallest size.

a)

<h6>

b)

<h2>

c)

<h7>

d)

<h1>

80.

This tag defines a heading at the largest size.

a)

<h1>

b)

<h20>

c)

<h3>

d)

<h2>

81.

HTML stands for...

(a)  

82.

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

a)

main.html

b)

index.html

c)

start.html

d)

mysite.html

83.

A software development technique in which two programmers work together at one workstation.

a)

pair programming

b)

partner programming

c)

team programming

d)

solo programming

84.

Pairs in pair programming are comprised of a ...

a)

navigator

b)

a free loader

c)

driver

d)

passenger

85.

Which of the following is not a heading tag?

a)

<h7>

b)

<h1>

c)

<h2>

d)

<h4>

86.

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

87.

Match the correct end tag...

<p>

a)

<p/>

b)

<\p>

c)

</p>

d)

</P>

88.

Match the correct end tag...

<body>

a)

</body>

b)

<\body>

c)

</BODY>

d)

<body/>

89.

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

a)

Heading

b)

Paragraph

c)

Mini-title

d)

Header

90.

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>

91.

This tag defines an element of a list.

a)

<li>

b)

<el>

c)

<ol>

d)

<ul>

92.

This tag contains an ordered list.

a)

<ol>

b)

<li>

c)

<ul>

d)

<ord>

93.

This tag represents and unordered list.

a)

<ol>

b)

<li>

c)

<ul>

d)

<un>

94.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
95.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
96.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
97.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
98.
The content of the web (such as your pictures, text, links) will show up here. 
a)
Head
b)
Body
c)
Style
d)
Folder
99.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
100.
What does the <HTML> tag tell the browser
a)
that it is an HTML document
b)
defines the documents body
c)
that it contains all the head elements
101.
Which section is used for text and tags?
a)
Arm
b)
Body
c)
Footer
d)
Head
102.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
103.
<h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
104.
</h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
105.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
106.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >  
d)
"  "
107.
What does the <i> tag do?
a)
makes text invisible
b)
makes text intelligent
c)
makes text appear in italics
d)
makes text interlinked with other text
108.
What does </html> do?
a)
Closes the webpage
b)
Closes the tag HTML
c)
Closes the internet
d)
Opens the HTML tag
109.

Defines the document type

a)

<!DOCTYPE>

b)

<html>

c)

<title>

d)

<head>

110.

Contains metadata/information for the document

a)

<!DOCTYPE>

b)

<html>

c)

<title>

d)

<head>

111.

This tag shows up in the tab above the url bar

a)

<!DOCTYPE>

b)

<html>

c)

<title>

d)

<head>

112.

Contains the entire HTML document

a)

<!DOCTYPE>

b)

<html>

c)

<body>

d)

<head>

113.

Defines the document's body

a)

<!DOCTYPE>

b)

<html>

c)

<body>

d)

<main>

114.

This is a paragraph tag

a)

<h1>

b)

<h2>

c)

<p>

d)

<a>

115.

Defines a single line break

a)

<space>

b)

<br>

c)

<p>

d)

<body>

116.

The largest HTML heading

a)

<h6>

b)

<h1>

c)

<HTML>

d)

<head>

117.

Defines an image

a)

<h1>

b)

<p>

c)

<button>

d)

<img>

118.

Creates a bulleted list (Unordered List)

a)

<ul>

<li>

<li>

</ul>

b)

<ol>

<li>

<li>

</ol>

c)

<li>

</li>

d)

<p>

<li>

<li>

</p>

119.

Which of the following html tags are self closing? (They do not require a second tag to close them?) Select all that apply.

a)

<html>

b)

<img/>

c)

<br>

d)

<button>

120.

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

121.

Which of the following tags is used for title?

a)

<p></p>

b)

<header></header>

c)

<h1></h1>

d)

<b></b>

122.

Which heading/subheading is the biggest font size?

a)

<h1>

b)

<h2>

c)

<h3>

d)

<h6>

123.

Some tags you have to close with a /

Example: <h1> My Project </h1>

a)

True

b)

False

124.

Which is not a heading/subheading?

a)

<h6>

b)

<h7>

c)

<h1>

d)

<h2>

125.

<a href="https://www.picturelocation"> Click me </a>

Is this coded correctly?

a)

Yes

b)

No

126.

<a herf="https://www.picturelocation"> Click me </a>

Is this coded correctly?

a)

Yes

b)

No, they wrote herf

127.

<a href+"https://www.picturelocation"> Click me </a>

What is wrong with this code?

a)

It should be

<a href=

b)

It should be

<a href-

c)

It should be

<a href/

128.

<a href="https://www.picturelocation"> Click me <a>

What is missing?

a)

Nothing, it is coded correctly.

b)

The / in the closing tag

</a>

c)

They wrote

herf

129.

What color are links or hyperlinks?

a)

red

b)

blue

c)

yellow

d)

green

130.

When a link or hyperlink is purple and not blue, it means...

a)

That you have never ever clicked on it

b)

You have already clicked on it

c)

It is a virus

131.

<br>

what is this called?

a)

a line break

b)

an anchor element

c)

hyperlink

132.

which code lets you enter or return to the next line and helps you stack text on top of other text?

a)

<br>

b)

<a href=

c)

<img src

133.

In this code <img src

What does img stand for?

a)

iMac

b)

image

c)

amazing

d)

emma

134.

In this code <img src

What does src stand for?

a)

sauce

b)

source

c)

saucey-sauce

d)

saucer

135.

<img src="https://www.imagelocation.com">

Is this coded correctly?

a)

Yes

b)

No

136.

<img scr="https://www.picturelocation.com">

Is this coded correctly

a)

Yes

b)

No, src is written wrong

137.

width="600" height="200"

This code can help resize an image when using

<img src

a)

True

b)

False

138.

<img scr="https://www.picturelocation.com">

Is a self closing tag, it does not need a /

a)

True

b)

False

139.

How can you find an image's address?

a)

Right click and choose - open image in new tab

b)

Right click and choose - copy image address

c)

Right click and choose - save link as

140.

What does HTML stand for?

a)

Hyperlink Markup Language

b)

Hypertext Markup Language

c)

Hyperbolic Mark-it

Language

141.

What does CSS handle?

a)

The style and looks of a webpage

b)

The text of a webpage

142.

What does HTML stand for?

(a)  

143.

Which element should be at the start and the end of every .html file?

a)

<html></html>

b)

<body></body>

c)

<head></head>

d)

<title></title>

144.

How many levels of headings are available to use in HTML?

a)

6

b)

1

c)

2

d)

10

145.

Which element would I use to make a level 3 heading

a)

<h1>

b)

<h3>

c)

<heading>

d)

<heading3>

146.

What would we use the <p> element for?

a)

Paragraph

b)

Picture

c)

Passage

d)

Print

147.

Which list would we use for a how to guide

a)

Ordered List

b)

Unordered list

c)

Definition List

148.

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

a)

Ordered List

b)

Unordered List

c)

Definition list

149.

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/>

150.

Write the code to create a link. Use the following:

<a href=""> </a>

page2.html

Click Here

4 lines
151.

Please write your name

4 lines
152.

Which symbol represents notes or comments?

a)

<head>

b)

<em>

c)

<!--...-->

153.

Provides the source reference to display an image

a)

<link>

b)

<input>

c)

<img>

154.

Additional information provided for search engines or other applications.

a)

<img>

b)

<link>

c)

<meta>

155.

Designates the relationship between a document and an external resource

a)

<link>

b)

<form>

c)

<img>

156.

Creates a stand-alone, indented paragraph identifying content quoted from another source

a)

<style>

b)

<blockquote>

c)

<li>

157.

Inserts a visual line break without creating a new paragraph

a)

<hr>

b)

<em>

c)

<br>

158.

Used to divide webpage content into obvious sections

a)

<div>

b)

<html>

c)

<blockquote>

159.

The basic building block for a hyperlink

a)

<a>

b)

<head>

c)

<html>

160.

Adds semantic emphasis. Displays as italics by default in most browsers and readers.

a)

<meta>

b)

<link>

c)

<em>

d)

<form>

161.

Root element of the webpage. Shows that we are using HTML5

a)

<DOCTYPE html>

b)

<html>

c)

<root>

162.

An element within a HTML list

a)

<lo>

b)

<li>

c)

<ul>

d)

<ol>

163.

Contains visible portions of the webpage.

a)

<head>

b)

<body>

c)

<br>

164.

Empty element that generates a horizontal line.

a)

<hr>

b)

<form>

c)

<em>

165.

Contains code that performs background functions, such as meta tags, scripts, styling, links, and other information not overly visible to site visitors that may provide instruction on how to display its content.

a)

<!--...-->

b)

<head>

c)

<div>

166.

A structural element that can contain another document or load content from another website

a)

<blockquote>

b)

<li>

c)

<iframe>

167.

Creates headings. Default formatting is bold.

a)

<html>

b)

<head>

c)

<h1> to <h6>

168.

An element for a form such as a text field.

a)

<form>

b)

<input>

c)

<title>

169.

Used for collecting data from visitors.

a)

<meta>

b)

<html>

c)

<form>