wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML basics

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

Which tag is used to bold text?

a)

<bd>

b)

<bo>

c)

<b>

d)

<bold>

2.

Which tag is used to define a table?

a)

<table>

b)

<t>

c)

<tab>

d)

<b>

3.

Which tag is used to define a hyperlink?

a)

<hl>

b)

<a>

c)

<hyperlink>

d)

<www>

4.

What does "style" define for the HTML shown in the image?

a)

the color & alignment of the text

b)

the size of the text

c)

the background color

d)

the body of the text

5.

What is the <time> tag used for?

a)

to define a time

b)

to define how long the page is valid

c)

to define what time the page was completed

d)

there is no such tag

6.

What is the <option> tag used for?

a)

to define an option in a drop-down list

b)

to define optional attributes on a page

c)

to define optional links on a page

d)

to define optional questions in a survey

7.

What does HTML stand for?

a)

Hypertext Markup Language

b)

Heat the Meatloaf

c)

Hypertext Meta Language

d)

Hypertext Medium Level

8.

What is <!DOCTYPE html> used for?

a)

to inform the browser what type of document to expect

b)

to indicate the end of the HTML code

c)

to indicate a new page on the website

d)

to insert a Google document

9.

What is the <strong> tag used for?

a)

to define important text

b)

to embed a video

c)

to define a picture with a border

d)

to define a bold line break

10.

Which tag is used to define a single line break?

a)

<br>

b)

<slb>

c)

<linebreak>

d)

<line>

11.

What part of the code indicates the url address of the link?

a)

a

b)

body

c)

/a

d)

href

12.

Which tag would display the largest text in a header?

a)

<h1>

b)

<h4>

c)

<h10>

d)

<hlarge>

13.

What does the <p3> tag define?

a)

the 3rd paragraph on the page

b)

a paragraph that is font size 3

c)

the 3rd page of a webpage

d)

the font color pink

14.

Based on the HTML code, what website is the link set to go to?

c)

there is not a tag for a link

15.

Based on the HTML code on the left, what will appear in the browser's address bar or on the page tab?

a)

HTML Elements Reference

b)

Basic HTML

c)

DOCTYPE

d)

The code does not define this information

16.

What symbol indicates a closing tag?

a)

/

b)

>

c)

.

d)

)

17.

Based on the image, which of the following is true?

a)

All paragraphs will be centered

b)

The heading will be small and red font

c)

One of the paragraphs will be in red font

d)

One of the paragraphs will be black font and red background

18.

Based on the image, which of the following is true?

a)

The heading will be black font with a powder blue background

b)

The heading will be powder blue font and the paragraph will be tomato font

c)

The background color for the page will be powder blue

d)

The background color for the page will be tomato