wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML 1

Total questions: 81

Worksheet time: 40mins

Name
Class
Date
1.

A tag that contains a starting tag as well as an ending tag is called:

a)

a child tag

b)

an empty tag

c)

a root tag

d)

a container tag

2.

< P > tag is a/an:

a)

Empty tag

b)

Closed tag

c)

Container tag

d)

Open tag

3.

The tag that does not have any content:

a)

Simple text

b)

Container tag

c)

Empty tag

d)

Paired tag

4.

A document on the World Wide Web is called:

a)

webpage

b)

webserver

c)

web browser

d)

notepad

5.

HTML tags are:

a)

Case sensitive

b)

Not case sensitive

c)

Overridden

d)

Complex

6.

To end a tag, use:

a)

Angle bracket

b)

Forward slash

c)

Backward slash

d)

End tag

7.

A web browser sends a request to the

a)

Client

b)

Web Server

c)

HTTP

d)

Computer

8.

Text used to link various web pages is called:

a)

HTML

b)

Internet

c)

Web pages

d)

Hypertext

9.

< P > tag is a/an:

a)

Container tag

b)

Empty tag

c)

closing tag

d)

none of these

10.

<Title> tag is given within

a)

<head> tag

b)

<p> tag

c)

<body> tag

d)

<table> tag

11.

What does HTML stand for?

a)

Hyper Tremendous Movie Lines

b)

Hyper Text Markup Language

c)

Hey Thanks for Making me Late

12.

What is debugging?

a)

Use bug spray to kill bugs

b)

Swatting flies with a magazine

c)

Finding and fixing problems with code

d)

Making comments to help make code easier to read

13.

In the tag <img src="Piedmont.jpg"/> what is the file name?

a)

<img

b)

.jpg

c)

</>

d)

Piedmont.jpg

14.

An ordered list will have ________.

a)

bullet points

b)

numbers

c)

none of the above

15.

An unordered list will have _______.

a)

bullet points

b)

numbers

c)

none of the above

16.

Which tag is used to create a hyperlink?

a)

<link>

b)

<a>

c)

<href>

d)

<url>

17.

What does the <title> tag define in an HTML document?

a)

The main content

b)

The header section

c)

The document's title

d)

The footer information

18.

Which of the following is a valid way to comment in HTML?

a)

<# This is a comment #>

b)

<? This is a comment ?>

c)

<!-- This is a comment -->

d)

<* This is a comment *>

19.

Which of the following tags is used to create a line break in HTML?

a)

<lb>

b)

<line>

c)

<break>

d)

<br>

20.

What is the purpose of the <meta> tag in an HTML document?

a)

To define the document's character set

b)

To create a link to a stylesheet

c)

To add a title to the document

d)

To insert images

21.

Which attribute is used to specify the destination of a hyperlink?

a)

url

b)

href

c)

src

d)

link

22.

Which of the listed heading tags creates the largest heading?

a)

H2

b)

H3

c)

H4

d)

H6

23.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

24.

HTML stands for...

a)

Hyper Text Markup Language

b)

High Tech MachineLanguage

c)

High Tech Modem Language

d)

Hyper Tech Markup Lexicon

25.

This coding is used to create a paragraph:

a)

<pr></pr>

b)

<p></p>

c)

<para></para>

d)

<par></par>

26.

Which is the correct HTML tag for creating an unordered list?

a)

<ul>

b)

<uline>

c)

<u>

d)

<under>

27.

Which tag would you use to make a heading?

a)

<heading></heading>

b)

<bigger></bigger>

c)

<h></h1>

d)

<h1></h1>

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

Which tag pair is used to create the largest heading?

a)

<h1></h1>

b)

<h9></h9>

c)

<h type = "largest"></h>

d)

<h6> </h6>

30.

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

a)

True

b)

False

31.

The 7th grade students want to make a list of the winners of a race using numbers They would use which HTML tag?

a)

<ul></ul>

b)

<ol></ol>

c)

<list></list>

32.

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

33.

Which of the following creates the smallest header?

a)

<H2><./H2>

b)

<H3></H3>

c)

<H4></H4>

d)

<H6></H6>

34.

Website Content is the text, images, and other elements included in a web page.

a)

True

b)

False

35.

When coding an ordered or unordered list, each separate item in the list uses this tag:

a)

<li></li>

b)

<list></list>

c)

<item></item>

36.

Which of these is another name for a web page address?

a)

CSS

b)

JAVA

c)

URL

d)

CNN

37.

More than 90 percent of websites on the Internet are coded using HTML.

a)

True

b)

False

38.

The universally accepted name for the first page on a website is

a)

home.html

b)

index.html

c)

first.html

39.

Who is considered by many to be the "Father of the World Wide Web" and the creator of HTML?"

a)

Tim Berners-Lee

b)

Tim Cook

c)

Tim Sweeney

40.

Which of the following pieces of code will create a horizontal line across the page?

a)

<hr>

b)

<line>

c)

<p>

d)

<grid>

41.

It is a global network of billions of computers and other electronic devices.

a)

search engine

b)

internet

c)

web browser

d)

all of the above

42.

HTML stands for...

a)

Hyper Time Multiple Language

b)

Hyper Text Mark-up Language

c)

Hippo T-Rex Mascot Lemur

d)

Hipper Text Make Language

43.

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>

44.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

45.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

46.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

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

Click Me

</a>

d)

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

Click Me

</a>

47.

You need a closing tag for an image without text

a)

True

b)

False

48.

src attribute in an image tag means what?

a)

Source of the image

b)

Name of the image

c)

Description of the image

d)

Not used with image tag

49.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

50.

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>

51.

<th></th> is the code for .....

a)

a table row

b)

a table column

c)

a table header

d)

Thanos

52.

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;”>

53.

When working with color codes RGB stands for...

a)

Green Red Purple

b)

Red Great Blue

c)

Red Green Blue

d)

Blue Green Raspberry

54.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

55.

This coding is used to create a paragraph:

a)

<pr></pr>

b)

<p></p>

c)

<para></para>

d)

<par></par>

56.

Which is the correct HTML tag for creating an unordered list?

a)

<ul>

b)

<uline>

c)

<u>

d)

<under>

57.

Which tag pair is used to create the largest heading?

a)

<h1></h1>

b)

<h9></h9>

c)

<h type = "largest"></h>

d)

<h6> </h6>

58.

The 7th grade students want to make a list of the winners of a race using numbers They would use which HTML tag?

a)

<ul></ul>

b)

<ol></ol>

c)

<list></list>

59.

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

60.

Which of these is another name for a web page address?

a)

CSS

b)

JAVA

c)

URL

d)

CNN

61.

More than 90 percent of websites on the Internet are coded using HTML.

a)

True

b)

False

62.

The universally accepted name for the first page on a website is

a)

home.html

b)

index.html

c)

first.html

63.

Who is considered by many to be the "Father of the World Wide Web" and the creator of HTML?"

a)

Tim Berners-Lee

b)

Tim Cook

c)

Tim Sweeney

64.

Which of the following pieces of code will create a horizontal line across the page?

a)

<hr>

b)

<line>

c)

<p>

d)

<grid>

65.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
66.
<!DOCTYPE> 
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
67.

Which tag configures the next element or portion of text to display on a new line?

a)

<line>

b)

<nl>

c)

<br>

d)

<new>

68.

Which tag is used to link web pages to each other?

a)

<link> </link>

b)

<hyperlink> </hyperlink>

c)

<a href = "url of site"> </a>

d)

<body> </body>

69.

A "Container Tag" in HTML has _________

a)

Only Ending Tag

b)

Only Starting Tag

c)

Both Starting and Ending Tag

d)

None

70.

HTML is a basic language as compared to XML and Java

a)

True

b)

False

c)

May be

71.
The content of the web (such as your pictures, text, links) will show up here. 
a)
Head
b)
Body
c)
Style
d)
Folder
72.
There simple, easy-to-use programs allow you to enter, edit, save, and print text.
a)
text editor
b)
web browser
c)
domain name
d)
webmaster
73.

The action attribute of a form

a)

tells how the information should be sent to the server.

b)

tells what web page or script will process the form.

c)

lets the user select from a set of options

d)

is a button command that processes the form

74.

The method attribute of a form

a)

tells which web page or script should process the form

b)

lets a user select from a set of options

c)

tells how the form data should be sent to the server

d)

verifies whether an email address is valid

75.

The problem with the Get method

a)

form data is not encrypted

b)

form data appears in the URL

c)

it is not reliable

d)

only part of the data is sent to the server

76.

When retrieving information, the ___ method will work.

a)

search

b)

put

c)

get

d)

post

77.

The select field in a form

a)

is used inside an input element.

b)

provides users with a set of options to choose from.

c)

auto-completes as the user types data.

d)

cannot have a default option setting.

78.

In a form, <input type="text" ...>

a)

cannot be set to "required"

b)

is not valid

c)

will accept multiple lines of characters.

d)

will accept only a single line of characters.

79.

Which of the following is the correct way to create a line break in HTML?

a)

<break>

b)

<br>

c)

<linebreak>

d)

<lb>

80.

What does the <meta> tag in HTML provide?

a)

Page content

b)

Scripts for the page

c)

Metadata about the HTML document

d)

Links to stylesheets

81.

Which attribute is used to specify the destination of a hyperlink?

a)

link

b)

target

c)

src

d)

href