wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Text in HTML

Total questions: 65

Worksheet time: 35mins

Name
Class
Date
1.
What does HTML stand for?
a)
Hypertext Making Language
b)
Hyper Transfer Markup Language
c)
Hypertext Markup Language
d)
Hyper Transfer Making Language
2.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
3.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
4.

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

5.

What does a opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

6.

What does a closing tag look like?

a)

< >

b)

<\ >

c)

</ >

d)

<< >>

7.

What does this tag stand for? <b>

a)

bright

b)

big

c)

beautiful

d)

bold

8.

What should a HTML web page end with?

a)

</html>

b)

<head>

c)

</end>

d)

</body>

9.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
10.
HTML uses
a)
Tabs
b)
Tags
c)
Labels
d)
Quotes
11.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
12.
Google Chrome, Mozilla Firefox and Microsoft Edge are all examples of what?
a)
Search engines
b)
Websites
c)
Web Browsers
d)
Text editors
13.
Which is the correct HTML element for inserting a line break?
a)
<b>
b)
<lb>
c)
<br>
d)
<break>
14.

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

15.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

16.

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>

17.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

18.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

19.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

20.

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>

21.

You need a closing tag for an image without text

a)

True

b)

False

22.

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

23.

Copyright is a form of protection for intellectual property?

a)

True

b)

False

24.

Copyright is a form of protection for intellectual property?

a)

True

b)

False

25.

Which of the following do you need to cite for a source

a)

Name of author and work

b)

Name of the site you sourced work from

c)

Year of work

d)

All of the above

26.

When working with color codes RGB stands for...

a)

Green Red Purple

b)

Red Great Blue

c)

Red Green Blue

d)

Blue Green Raspberry

27.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

28.

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

a)

a table row

b)

a table column

c)

a table header

d)

Thanos

29.

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

30.

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>

31.

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

a)

<b>

b)

<lb>

c)

<br/>

d)

<break>

32.

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>

33.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
34.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
35.
<img> tag finds;
a)
finds the image located at the a URL and the src attribute and then displays it.
b)
finds the image located at the SRC in the URL attribute and then displays it.
c)
Adds a cool picture
d)
Does not work in HTML coding
36.
[Square brackets are used to define];
a)
An input attribute
b)
An export attribute
c)
A Function
d)
A Variable
37.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
38.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
39.
<html>
a)
Gives you structure and text
b)
Not needed when creating HTML sites
c)
Goes after the <h1>
d)
Goes after the <body>
40.
<body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
41.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
42.
Style tags are used to;
a)
Apply style to one line
b)
Not used in HTML
c)
Used at the top of the page to apply a style to the entire document
d)
Used sparingly
43.
An attribute is a; 
a)
Applies changes to everything
b)
Different options for each tab
c)
Allows for no changes to the site
d)
Gives structure and text
44.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
45.
A Header;
a)
Must include your name
b)
First Line of your code
c)
Found at bottom of your code
d)
Not needed in HTML
46.
[Square brackets are used to define];
a)
An input attribute
b)
An export attribute
c)
A Function
d)
A Variable
47.
<img> tag finds;
a)
finds the image located at the a URL and the src attribute and then displays it.
b)
finds the image located at the SRC in the URL attribute and then displays it.
c)
Adds a cool picture
d)
Does not work in HTML coding
48.

You'd use <img src="" /> to ______.

a)

start a new website

b)

indent a paragraph

c)

log off your computer

d)

put an image on a page

49.

A programmer has an idea to use just one language for the content, structure, and style of web pages. What might be a problem with this idea?

a)

It will be confusing and less organized for people to read and write code that mixes everything up together.

b)

Structure is more important than style or content and needs its own language

c)

Communicating about structure and style are different problems, and it is helpful to use two languages specific to those problems

d)

A and C

e)

All of the above

50.

When making a web page, which two of the following tasks is HTML the most important language for? (Choose TWO)

a)

Making the text a different color.

b)

Separating out headings from paragraphs

c)

Putting borders on an image

d)

Adding information about the copyright

e)

Organizing text into a list

51.

A group of artists is making a website. When should they use classes?

a)

They want to make their h3 tags bigger than their h1 tags.

b)

They want headings to be one color, but paragraphs to be a different color.

c)

They want some images to float left, and other images to float right.

d)

They want all the pages on their site to have the same style.

e)

They want make a special color using RGB codes.

52.

A student is using a stylesheet to make all the paragraphs on the website green, but it's not working on index.html, even though it works on the other web pages. What could be causing the problem?

a)

1 only

b)

3 only

c)

1 and 2 only

d)

1 and 3 only

e)

1, 2, and 3

53.

A group of artists is making a website. When should they use classes?

a)

They want to make their h3 tags bigger than their h1 tags.

b)

They want headings to be one color, but paragraphs to be a different color.

c)

They want some images to float left, and other images to float right.

d)

They want all the pages on their site to have the same style.

e)

They want make a special color using RGB codes.

54.

What code in the stylesheet could have made the text green? (Choose TWO)

a)

.p {

color:green;

}

b)

p {

color:green;

}

c)

.special {

color:green;

}

d)

special {

color:green;

}

55.

The web developer wants to make the "My Page" text larger. Which TWO of the following would work? (Choose TWO)

a)

Use <h6> instead of <h3>

b)

Use <h1> instead of <h3>

c)

Put the "My Page" text inside the tags.

d)

Use CSS to set the font-size property of the h3 tag

e)

Put the code style="larger" inside the h3 tag.

56.

What code in the stylesheet could have made the text green? (Choose TWO)

a)

.p {

color:green;

}

b)

p {

color:green;

}

c)

.special {

color:green;

}

d)

special {

color:green;

}

57.

Which of the following is true about copyright?

a)

If an image is already on one web page, it's okay to use it on any web page.

b)

If you make a lot of changes to an image, you do not need the permission of the original creator to post it on your site.

c)

Image creators can decide both who can use their images and how the images can be used.

d)

If there is no copyright information for an image, anyone is free to use it on their own sites.

e)

You must always contact the creator for permission to use an image on your site.

58.

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

a)

<br>

b)

<lb>

c)

<break>

59.

What is the correct HTML for adding a background color?

a)

<background>yellow</background>

b)

body {"background-color:yellow;}

c)

(body bg="yellow")

d)

background color = "yellow"

60.

What is this tag used for?


<tc> content </tc>

a)

table columns

b)

table rows

c)

table headers

d)

tc is not a tag

61.

HTML stands for:

a)

HyperText Markup Language

b)

HyperTurbo Machine Language

c)

HyperTraining Making Language

d)

HappyTime Makeup Lounge

62.

Every website begins with a file named:

a)

page.html

b)

start.html

c)

main.html

d)

index.html

63.

What is a bug?

a)

Part of a program that does not work correctly

b)

a Hemipteron

c)

Part of a program that does work correctly

d)

Finding and fixing problems in an algorithm or program.

64.

Which of the following will correctly display the words above?

a)

<h3> Eggs </h3>

<h1> Bacon </h1>

<h6> Waffles </h6>

b)

B<h1> Eggs </h1>

<h2> Bacon </h2>

<h3> Waffles </h3>

c)

<h6> Eggs </h6>

<h1> Bacon </h1>

<h3> Waffles </h3>

65.

HTML is a ........................language.

a)

programming

b)

scripting

c)

object oriented

d)

markup