Web Authoring Chapters 1-5 exam questions
The numeric reference   is equivalent to the ____ named reference.
An external style sheet file extension is ____.
.css
A comment begins with the______symbol
/*
There are ____ points in a vertical inch.
72
Which of the following elements are block-level elements?
A=paragraph B=heading
How will the heading be styled if the style contains the following declarations? h2 { font-size: 1em; background-color: yellow; } h2 { font-size: 2em; }
All h2 headings will appear in a font size of 2em and on a yellow background.
Case-Based Critical Thinking Questions Case 1-1 Alice was working on her company's Web site and had problems with inserting some images. Some of them were distorted; some were too big, so downloads took a long time. She asked her friend Sam for advice, checking in with him for answers to her questions. Where can Alice get images from?
All of the Above
It is confusing to read and type a Web page address if it includes a(n) ____.
All of the Above
Case-Based Critical Thinking Questions Case 1-2 John is trying to increase traffic through the Web site he created. He also would like to validate the code he developed. He posted several questions he had on one of the online forums and got clear answers from professional Web developers. Which of the following is NOT a true statement that John's fellow Web developers can make to him?
All search engines divulge the details of the rules they use to rank search results
Case-Based Critical Thinking Questions Case 1-1 Alice was working on her company's Web site and had problems with inserting some images. Some of them were distorted; some were too big, so downloads took a long time. She asked her friend Sam for advice, checking in with him for answers to her questions. Which of the following image files is not compressed?
BMP
When troubleshooting style sheet errors, be sure there is a(n) ____ at the beginning and end of each style rule to define the block of properties for that rule.
Brace Bracket
The software application used to download and view Web pages is called a ____.
Browser
____ can appear anywhere in HTML code and can be used to identify sections of the code.
Comments
Every HTML document should begin with a(n) ___ tag.
DOCTYPE
In Internet Explorer, you can press the ____ key to refresh a page.
F5
A numeric character reference has the following form: & number.
False
All comments placed in the code will be displayed in the browser.
False
By default, the border is set to solid.
False
CSS provides control over the positioning of list style markers (images used as bullets).
False
Despite the wide variety of Web browsers, operating systems, devices, and other variables, it is easy to choose fonts that will be displayed reliably on most computers.
False
If one value is used for padding and margin properties, then one-quarter of the value is applied to all four sides equally.
False
If the value of the margin-left property is 10 pixels, it should be coded as [margin-left: 10 px;.]
False
Margins is/are the space between the content and the edge of the box that contains the element, as shown in the accompanying figure.
False
Most HTML tags begin with an exclamation mark.
False
Since the arrival of HTML5, the DOCTYPE tag has been most often used to point to the rules for XHTML version 1.0.
False
The <br /> tag shown in the accompanying figure is used at the end of each line of text when the text is to be wrapped as a paragraph.
False
The Internet is a local area network of interconnected computers.
False
The browser's style sheet has the highest precedence.
False
The no-repeat value shown in the accompanying figure sets the background image to tile to the right and down to fill the element's contents.
False
The original large internetwork between the U.S. Department of Defense, Berkeley, and MIT was known as the World Wide Web.
False
The photo element is used to insert an image into a Web page.
False
The style margin: 10px 4px; sets top and bottom margins equally to 5px, and left and right margins equally to 2px.
False
The text editor Notepad comes with Apple OS X.
False
To have an image appear centered horizontally along the bottom of its container, you would set the background-position property value to center bottom.
False
When using HTML5, it is required that you specify the version of XHTML.
False
You do not need to save a file before you can see the web page in a browser
False
Case-Based Critical Thinking Questions Case 1-2 John is trying to increase traffic through the Web site he created. He also would like to validate the code he developed. He posted several questions he had on one of the online forums and got clear answers from professional Web developers. What must John do to anticipate how users might enter the keywords?
Include common misspellings and a variety of capitalization options
What is the main reason to not use bitmap files as Windows graphics?
It takes much longer to download them
____ languages are a system of codes that describe something about the content.
Markup
A standard convention for navigating to the next Web page is to use the word/phrase ____.
Next
Which of the following border style's value is the default?
None
Which of the following is a no-frills editor that saves plain text files?
Notepad
When you create a Web page, the ____ is where the Web page items are physically located in the browser window.
Placement
Which of the following is Apple's Web browser?
Safari
Case-Based Critical Thinking Questions Case 5-2 Max is preparing for a test and he is confused by a section related to the use of background images for list items. Leon has already passed this test with an A+ and Max asks Leon for some help. Given the following code, which of the options below is a true statement that Leon can make to Max about this list item element? ul.facts li { background: url(images/small_elephant.jpg) black 0.3em no-repeat; padding-left: 60px; line-height: 2.5em; }
The background color is black.
All browsers use a [different] approach in creating list indentation
True
All major Web browsers add varying amounts of padding, like the kind shown in the accompanying figure, by default.
True
Empty elements do not mark any content.
True
In the box model, the border is placed between the margin and the padding.
True
Most programming languages are owned by a specific company or organization.
True
One of the most important uses of meta elements is to help search engines to find the Web site.
True
The true power of CSS lies in the ability to use an external style sheet to determine the appearance of as many documents as you want.
True
To insert an image on a Web page, one must use the image element.
True
Web designers avoid using the space and underscore characters when naming files.
True
Your operating system may not display file extensions by default when displaying lists of files.
True
the default value for the background-position property is top left.
True
The property ____ provides a setting for the associated feature (e.g., yellow for the color property).
Value
A rule for CSS is the combination of ____.
a selector, a property, and a value
In CSS, colors can be entered by a(n) ____.
all of the above
The margin and padding shorthand properties may contain ____ values.
all of the above
CSS2 enabled users to do all of the following EXCEPT ____.
apply drop shadows to text
What is the correct order of the properties and their values for the background property?
background-image, background-repeat, background-attachment
By default, links are underlined and ____.
blue
Case-Based Critical Thinking Questions Case 3-2 Kyra has been promoted to a new position: international marketing director. She is not familiar with the significance of different colors in various cultures worldwide. Therefore, she asks Max, who is much more knowledgeable about these matters, to help her get up to speed. If Kyra is building a religious Web site for an Israeli client, what color does Max say she should use if she wants to convey holiness?
blue
The ____ property applies values to all four sides of the box that contains an element.
border
Which of the following is an invalid value for the float property?
center
Although a(n) ____ image loses some detail and clarity, the image downloads faster.
compressed
When you create a Web page, the ____ includes the words, images, and other media.
content
All headings are preceded and followed by a blank line ____.
created by browser default settings
The item in the accompanying figure is a(n) ____ list
definition
The item marked 2 in the accompanying figure is an example of the ____ style.
dotted
The item marked 5 in the accompanying figure is an example of the ____ style
double
Which of the following is NOT a border's style value?
double-dashed
In the accompanying figure, "Los Angeles Dodgers" is a ____ element above an indented dd element.
dt
Which of the following declarations is invalid?
font-family: Lucida Calligraphy;
In the accompanying figure, the ____ formats the first line of text to hang to the left of the text that follows.
hanging indent
Case-Based Critical Thinking Questions Case 1-1 Alice was working on her company's Web site and had problems with inserting some images. Some of them were distorted; some were too big, so downloads took a long time. She asked her friend Sam for advice, checking in with him for answers to her questions. According to Sam, which of the following specify the dimensions of the area of a Web page where an image will be rendered?
height and width
Which of the following is NOT an example of metadata?
length of document
item marked 4 represents the ______. 1. content 2.padding 3.border 4.margin
margin
The ability to quickly find Web pages on any topic is developed using a(n) ____ element.
meta
For which of the following does CSS validation check?
none of the above
Which of the following code examples is invalid?
none of the above
The ____ property specifies the amount of white space between the bottom of the content and the bottom of the box that contains the element.
padding-dottom
Which of the following is an example of the padding shorthand property?
padding: 5px;
The background-position property allows you to ____.
place a background image within an element
Style ____ determines which styles have priority when multiple styles conflict.
precedence
Case-Based Critical Thinking Questions Case 5-1 Ethan would like to minimize his efforts in the development of his Web site. Kyra is ready to help him apply a variety of background properties. Ethan decides to have a background image that is repeated horizontally at the top of his page. What value does Kyra indicate he must use with the background-repeat property?
repeat-x
A style sheet is a collection of ____.
rules
The default value for the background-attachment property is ____.
scroll
To set the border shorthand property, which one of the following should be specified at a minimum?
style
Which of the following attributes is NOT a part of the link element?
style
What is the value of the rel attribute when creating a link to the external style sheet?
stylesheet
If two values are listed for the padding property, ____.
the first value is applied to the top and bottom sides equally, and the second value is applied to the left and right sides equally
Which style takes precedence if a Web page author mistakenly styles the same element more than once in the same embedded style sheet?
the style that is lower in the styles list
If four values are listed for [margin] properties, they are applied in ____ order.
top, right, bottom, left
If there is a logo on a Web page, a standard convention is to place it in the ____ and make it a link that points to the Web site's home page.
top-left
In HTML and XHTML, the language instructions are provided using tags.
true
Blank lines and indenting are examples of ____ space.
white
The default setting for the background color in a browser is usually ____.
white
Case-Based Critical Thinking Questions Case 3-2 Kyra has been promoted to a new position: international marketing director. She is not familiar with the significance of different colors in various cultures worldwide. Therefore, she asks Max, who is much more knowledgeable about these matters, to help her get up to speed. Max tells Kyra that _____ is the color for courage in Japan
yellow