wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML_ONTAP_1

Total questions: 15

Worksheet time: 7mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyperlinks and Text Markup Language

b)

Hyper Text Markup Language

c)

Home Tool Markup Language

2.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<heading>

c)

<h6>

d)

<h1>

3.

is the correct HTML for adding a background color?

<background>yellow</background><body bg="yellow"><body >

Next ❯

Study HTML in our HTML Tutorial


a)

<background>yellow</background>

b)

<body bg="yellow"><body >

c)

<body style="background-color:yellow;">

5.

Which character is used to indicate an end tag?


a)

^

b)

/

c)

<

d)

*

6.

How can you open a link in a new tab/browser window?

a)

<a href="url" target="new">

b)

<a href="url" target="_blank">

c)

<a href="url" new>

7.

Which of these elements are all <table> elements?


a)

<thead><body><tr>

b)

<table><head><tfoot>

c)

<table><tr><tt>

d)

<table><tr><td>

8.

How can you make a numbered list?

a)

<list>

b)

<dl>

c)

<ol>

d)

<ul>

9.

How can you make a bulleted list?

a)

<dl>

b)

<ol>

c)

<list>

d)

<ul>

10.

What is the correct HTML for inserting an image?

a)

<img href="image.gif" alt="MyImage">

b)

<image src="image.gif" alt="MyImage">

c)

<img src="image.gif" alt="MyImage">

d)

<img alt="MyImage">image.gif</img>

11.

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?


a)

alt

b)

src

c)

title

d)

longdesc

12.

What is the correct tag name for a table-row in HTML?

a)

<tr>

b)

<td>

c)

<th>

13.

What is the correct tag name for a table-cell in HTML?


a)

<tc>

b)

<td>

c)

<tr>

14.

What is the correct HTML attribute for specifying how many rows a cell should span?


a)

span

b)

rowspan

c)

spanning

15.

What is the correct CSS property for styling the width of a table?

a)

size

b)

table-size

c)

width