wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

8.1.2 Words are not enough

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

The main heading on a web page should be formatted using which tag?   

a)

<h1>

b)

<h2>

c)

<b>

d)

<u>

2.

Which of the following lines of a HTML document is incorrect?

a)

<h2 style="color:red;">Important</h2>

b)

<p style="font-family:courier;">This is a paragraph.</p>

c)

<p style="colour:blue;">Think calm thoughts.</p>

d)

<h2>So it started on a cold wet Tuesday morning…</h2>

3.

What is the alt attribute in img tags used for?

a)

Provide an alternative image if the first doesn’t load.

b)

Provide a textual description of the image.

c)

Alters the image size.

d)

Alerts the user that image has loaded.

4.

What is displayed in a browser if the following line of HTML is used?

<p style="text-align:center;"><img src="MyPhoto.jpg"></p>

a)

Text is wrapped around the left-hand side of the image MyPhoto.jpg.

b)

The text MyPhoto.jpg is converted to centred text in a paragraph.

c)

The image MyPhoto.jpg is added as a centred background on the page.

d)

An image named MyPhoto.jpg is displayed in the centre of a new paragraph.

5.

Which of the following is a benefit of using Cascading Style Sheets (CSS)?

a)

Web pages load more quickly.

b)

There will be fewer files created for the website.

c)

All the formatting of a single tag can be adjusted in one file.

d)

Search engines will be able to find the web page more easily.

6.

What formatting would the following CSS lines apply to a HTML document?

 

body {

    color: green;

}

a)

The border around images will be green.

b)

The title of the page will be green.

c)

The background of the page will be green.

d)

The text on the page will be green.

7.

What is wrong with the following HTML hyperlink?

 

            <a href="quiz.htm">What is your spirit animal?<a>

a)

It should be link and not href.

b)

You cannot have text inside the tag.

c)

"quiz.htm" does not need speech marks.

d)

The tag is not closed.