Web Design Chapters 3&4
The _______________ element is useful for creating areas on a web page that are embedded within paragraphs or other block display elements.
span
If your web page uses graphic links, include _______________ at the bottom of the page to increase accessibility.
text links
The _______________ CSS property can be used to center text within a block display element.
text-align
The _______________ CSS property can be used to indent the first line of text.
text-indent
A _______________ image is a smaller version of a larger image that usually links to the large image.
thumbnail
A background image will automatically be repeated, or _______________, by a web browser.
tiled
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
alt
Which of the following uses CSS to configure a class called news with red text, large font, and Arial or a sans-serif font? A. news { color: red; font size: large; font-family: Arial, sans-serif; } B. .news { color: red; font-size: large; font-family: Arial, sans-serif; } C. .news { text: red; font-size: large; font-family: Arial, sans-serif; } D. #news { text: red; font-size: large; font-family: Arial, sans-serif; }
.news { color: red; font-size: large; font-family: Arial, sans-serif; }
CSS was first proposed as a standard by the W3C in _______________.
1996
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>
<a href="index.html"><img src="home.gif" alt="Home"></a>
Which HTML tag configures a horizontal line on a web page? A. <line> B. <br> C. <hr> D. <border>
<hr>
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">
<link rel="stylesheet" href="style.css">
Which of the following can be a CSS selection? A. an HTML element name B. a class name C. an id name D. all of the above
All of the above
Which of the following is the CSS property used to set the background color of a web page? A. bgcolor B. Background-color C. color D. none of the above
Background-color
Which of the following graphic types can be made transparent? A. GIF B. JPG C. BMP D. PHOTO
GIF
Which type of CSS is coded in the body of the web page as an attribute of an HTML tag? A. embedded B. inline C. external D. imported
Inline
Which of the following graphic types is best suited to photographs? A. GIF B. JPG C. BMP D. PHOTO
JPG
Why should you include height and width attributes on an <img> tag? A. They are required attributes and must always be included B. They help the browser render the page faster because it reserves the appropriate space for the image. C. They help the browser display the image in its own window. D. none of the above
They help the browser render the page faster because it reserves the appropriate space for the image.
Which CSS property configures the background color? A. bgcolor B. background-color C. color D. none of the above
background-color
Which of the following configures a graphic to repeat vertically down the side of a web page? A. hspace="10" B. background-repeat: repeat; C. valign="left" D. background-repeat: repeat-y;
background-repeat: repeat-y;
Which of the following configures a background color of #FFF8DC for a web page using CSS? A. body { background-color: #FFF8DC; } B. document { background: #FFF8DC; } C. body { bgcolor: #FFF8DC; } D. document {bgcolor: #FFF8DC; }
body { background-color: #FFF8DC; }
The _______________ CSS3 property configures a drop-shadow effect on an HTML element.
box-shadow
Which of the following is true if a web page contains both a link to an external style sheet and embedded styles? A. Embedded styles will be applied first, and then the external styles will be applied. B. The inline styles will be used. C. External styles will be applied first, and then the embedded styles will be applied. D. The web page will not display.
external styles will be applied first, and then the embedded styles will be applied.
What is the term used to describe a square icon that is associated with a web page and is displayed in the browser address bar or tab? A. background B. bookmark icon C. favicon D. logo
favicon
Which of the following is the declaration property used to set the font typeface for an area of a web page? A. font-face B. face C. font-family D. size
font-family
Which of the following do you configure to apply a style to only one area on a web page? A. group B. class C. id D. none of the above
id
Where do you place the code to associate a web page with an external style sheet? A. in the external style sheet B. in the DOCTYPE of the web page document C. in the body section of the web page document D. in the head section of the web page document
in the head section of the web page document
The _______________ element displays a visual gauge of a numeric value within a known range.
meter
Which of the following configures empty space between the content of the HTML element (typically text) and the border? A. vspace property B. padding property C. margin property D. none of the above
padding property
Which of the following describe two components of CSS rules? A. selectors and declarations B. properties and declarations C. selectors and attributes D. none of the above
selectors and declarations