wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Special tags

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Each cell in a table is created with

a)

<tr> and </tr>

b)

<td> and </td>

c)

<cell> and </cell>

d)

<tb> and </tb>

2.

<script>alert("Today's Date is: " + Date());</script>

a)

Cannot be used in an HTML page

b)

Works only if you also use the <noscript> tag

c)

Displays today's date

d)

Will not display anything

3.

&nbsp;

a)

Creates one blank space

b)

Creates a new blank line

c)

Creates a new paragraph

d)

Is not a valid character entity

4.

<noscript>Today's Date is: Date();</noscript>

a)

Displays nothing in modern browsers

b)

Will not work because "alert" is not used

c)

Displays "Today's Date is: Date();" if browser does not support JavaScript

d)

Displays the current date

5.

To help search engines know what your HTML page is about

a)

<meta name="keyword" content="basketball is a fun sport">

b)

<meta name="keyword" content="basketball, sports, fun">

c)

<title> = "Basketball is a Fun Sport" </title>

d)

<meta name="author" content="basketball, sports, fun>

6.

Why does <<John Doe>> not display John's name?

a)

HTML does not display anything written inside angle brackets.

b)

"John" is not Mr. Doe's name.

c)

Because it displays "<<John Doe>>"

d)

The <script> and </script> tags were left off.

7.

To create a table, begin with

a)

</table>

b)

<table>

c)

<tr>

d)

<td>

8.

Table rows are created with

a)

<tr> and </tr>

b)

<th> and </th>

c)

<td> and </td>

d)

<row> and </row>

9.

In a table, colspan="2"

a)

causes a column to span two rows

b)

causes a row to display as column headers

c)

causes a row to span two columns

d)

causes a cell to span two columns

10.

<br> or <br />

a)

Creates a blank line between paragraphs

b)

Creates one blank space

c)

Creates a line break

d)

Have been replaced by <p> tags

11.

Menus that contain links to other pages or websites should be wrapped in

a)

<nav> ... </nav>

b)

<link> ... </link>

c)

<menu> ... </menu>

d)

<ribbon> ... </ribbon>

12.

px

a)

1/96 of an inch

b)

percentage of the letter "x"

c)

height of the letter "x"

d)

0.01 in.

13.

em

a)

0.01 in.

b)

the default font size of the html root element

c)

equals the current font size

d)

a percentage of the current font size

14.

rem

a)

1/96 of an inch

b)

equals the current font size

c)

the width of the letter "m" in the current font

d)

the default font size of the html root element

15.

The default font size for modern browsers

a)

24px

b)

16px

c)

1em

d)

1rem