wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

SDA Review Questions 51 - 60

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which code should a web developer use to attach an external CSS Style Sheet to an HTML webpage?

a)

<link rel="stylesheet" type="text/css" href="styles.css">

b)

<link rel=stylesheet type=css href=styles.css>

c)

<style ref=stylesheet type=text/css href=syb/syb.css>

d)

<style ref="stylesheet" type="css" href="styles.css">

2.

What is the order of precedence for CSS?

a)

External styles overrides all other styles.

b)

External styles override embedded styles.

c)

Inline styles override all other styles.

d)

Embedded styles override inline styles.

3.

Which code should be used to center a paragraph of text?

a)

<p style="text-align: center">This is centered text.</p>

b)

<p "align: center">This is centered text.</p>

c)

<p style: text-align ="center">This is centered text.</p>

d)

<p text-align="center">This is centered text.</p>

4.

Nu Yin has wrote the following HTML and CSS code for his website.

<header>

<h1>HiLo Store</h1>

<img src="images/logo.jpg" width="100" height="75" alt="HiLo Store Logo" />

</header>


header {

background: #333333 url(header_bg.gif) repeat-x top left;

height: 100px;

width: 100%;

}

header img {

float: left;

}

Where on the webpage does background display?

a)

At the left of the header

b)

At the right of the header

c)

At the top, center of the header

d)

At the top, left of the header

5.

Alejandra is creating a style sheet to format the pages on her company's website. One section will have a light green background with black text. Which hexadecimal reference will Angelica use to specify the text color for this portion of the webpage?

a)

#000000

b)

#FFFFFF

c)

255,255,255

d)

white

6.

You are writing the CSS to format your web pages. For the page background color you enter the hexadecimal code #0000FF. What color will the page background be?

a)

blue

b)

black

c)

green

d)

red

7.

Julie is redesigning the website for Kimber's Dance Studio. She plans to set her styles using RGB colors and wants to use pure green. What color code will she use?

a)

0, 255, 0

b)

#00FF00

c)

0, 0, 255

d)

#00FFFF

8.

Which tool is used to validate CSS?

a)

http://www.cynthiasays.com

b)

http://validator.w3.org

c)

http://jigsaw.w3.org

d)

http://www.vischeck.com

9.

What is the name for the set of standards created by the Web Accessibility Initiative (WAI) that promote accessibility for all web users, including those with disabilities?

a)

Section 508 of the Rehabilitation Act

b)

Web Content Accessibility Guidelines

c)

Americans with Disabilities Act

d)

User Agent Accessibility Guidelines

10.

Kazuki was asked to design and develop a website whose target audience will primarily be elderly. What should he do to ensure that the website is accessible?

a)

Comply with WAI's Web Content Accessibility Guidelines.

b)

Comply with the latest HTML standards.

c)

Comply with Section 508 of the Rehabilitation Act.

d)

Comply with the latest ICANN standards.