wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Development Revision 3

Total questions: 15

Worksheet time: 34mins

Name
Class
Date
1.

What CSS property configures empty space between the content of the HTML element (typically text) and the border?

4 lines
2.

Which CSS property configures the type of line displayed in the border?

a)

border-width

b)

border-style

c)

border-top

d)

border-bottom

3.

What CSS property is used to configure a background image in a web page?

4 lines
4.

Which attribute specifies text that is available to browsers and other user agents that do not support graphics?

a)

alt

b)

text

c)

src

d)

none of the above

5.

Which of the following creates an image link to the index.html page when the home.gif graphic is clicked?

a)

<a href="index.html" src="home.gif"

alt="Home"></a>

b)

<a href="index.html"> <img src="home.gif" alt="Home"></a>

c)

<img src="home.gif" href="index.html" alt="Home">

d)

<a href="index.html"> <img href="home.gif" alt="Home"></a>

6.

Which of the following associates a web page with an external style sheet?

a)

<style rel="external" href="style.css">

b)

<style src="style.css">

c)

<link rel="stylesheet"

href="style.css">

d)

<link rel="stylesheet" src="style.css">

7.

What is the CSS property used to set the background color of a web page?

4 lines
8.

What is the CSS property used to configures

the boldness of the text?

4 lines
9.

Which of the following is the correct for capitalizing the allword in a sentence?

a)

font-style:caps;

b)

text-transform:uppercase;

c)

text-transform:capitalize;

d)

text-transform:initcap;

10.

Write CSS to configure a class called news with red text, large font, and Arial or a sans-serif font?

4 lines
11.

Which of the following can be a CSS selector?

a)

an HTML element name

b)

a class name

c)

an id name

d)

all of the above

12.

What property and value are used to configure an unordered list item with a none list marker?

4 lines
13.

List pseudo-classes for a hyperlink in order.

4 lines
14.

Write CSS to configures the list that eliminates the underline on the hyperlinks within the nav element.

4 lines
15.

Write CSS to configures the h1 element to have 5 pixels of padding and blue text.

4 lines