wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Inline Elements

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Deprecated means

a)

loss of value

b)

going obsolete

c)

to undo an action

d)

to redo an action

2.

The old <i> tag is now replaced with

a)

inline

b)

italic

c)

strong

d)

em

3.

The old <b> tag is replaced by

a)

strong

b)

br

c)

bold

d)

block

4.

An inline element affects

a)

everything in a block-level element

b)

everything in a div block

c)

only the contents between its opening and closing tags

d)

only CSS style rules

5.

Block-level elements

a)

take up the full width of its containing element unless you specify some other values for height and width.

b)

affect only the contents between the opening and closing tags of the inline element.

c)

cannot be used as a child element of the <html> element.

d)

cannot be used as a child element of the <body> element.

6.

To have text display as if it had been marked with a yellow highlighter, use

a)

mark

b)

highlight

c)

em

d)

yellow

7.

An <em> tag will

a)

not work inside a div element.

b)

mark text as having been highlighted.

c)

make text appear to be bold.

d)

make text appear to be in italics.

8.

<script> is

a)

an inline element.

b)

a block-level element.

c)

used only in JavaScript files.

d)

used only in the CSS file.

9.

<span> should be used

a)

only when creating a style for one word.

b)

when trying to create a style for more than one word.

c)

when you have to create a style rule outside of the CSS style sheet.

d)

never in an element that is a child element of the <body> tag.

10.

<u> will

a)

cause text to be underlined.

b)

create an unordered list.

c)

get tired if you work too hard.

d)

means "unimportant" in an HTML page.

11.

<input> is

a)

a parent element of the <body> tag.

b)

how you build a list of options in a form.

c)

a block-level element.

d)

an inline element.

12.

<a> stands for

a)

another

b)

anchor

c)

alternative

d)

answer

13.

If you want to make a very important point in your writing,

a)

use <em>

b)

use <b>

c)

use <i>

d)

use <!>

14.

<div> is

a)

an inline element

b)

a block-level element

c)

the parent of the <body> tag

d)

deprecated

15.

The parent element of the <body> tag is

a)

<html>

b)

</html>

c)

</body>

d)

<head>