HTML and CSS Reference
In-Depth Information
7. Which property and value is used to configure an
unordered list item so that the bullet does not
display?
a. list-bullet:none;
b. list-style-type:none;
c. list-style-type:off;
d. list-marker:none;
10. Which of the following pseudo-classes is the
default state for a hyperlink that has already
been clicked?
a. hover
b. link
c. onclick
d. visited
8. Which of the following pseudo-classes is trig-
gered when the hyperlink has keyboard focus?
a. hover
b. link
c. active
d. focus
Fill in the Blank
11. To indicate that an external style sheet is used to
configure printing, code ____________ on the
<link> element.
12. The ____________ is always transparent.
9. Which of the following properties configures an
image to use as a bullet point in an unordered
list?
a. bullet-image
b. image-style
c. list-style-image
d. bullet-style-image
13. The ____________ pseudo-class can be used to
modify the display of a hyperlink when a mouse
passes over it.
14. ____________ is an attribute of the anchor ele-
ment that can cause the new Web page to open
in its own browser window.
15. The rules of ____________ describe how
Cascading Style Sheet rules, XHTML attributes,
and browser defaults are applied.
Apply Your Knowledge
1. Predict the Result. Draw and write a brief description of the Web page that will be
created with the following XHTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Predict the Result</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body { background-color: #000066;
color: #CCCCCC;
font-family: Arial,sans-serif;
}
h1 { background-color: #FFFFFF;
color: #000066;
padding: 20px;
}
.navBar li { list-style-type: none;
display: inline;
padding: 20px;
}
 
Search WWH ::




Custom Search