Web Design Mid-term Book Questions
Which of the following graphic types can be made transparent? a) GIF b) JPG c) BMP d) PHOTO
a) GIF
Which tag pair is used to create the largest heading? a) <h1> </h1> b) <h9> <h9> c) <h type="largest"> </h> d) <h6> </h6>
a) <h1> </h1>
Which of the following is a network that covers a small area, such as a group of buildings or campus? a) LAN b) WAN c) Internet d) WWW
a) LAN
Which of the following organizations takes a proactive role in developing recommendations and prototype technologies related to the Web? a) World Wide Web Consortium (W3C) b) Web Professional Standards Organization (WPO) c) Internet Engineering Task Force (IETF) d) Internet Corporation for Assigned Number and Names (ICANN)
a) World Wide Web Consortium (W3C)
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) logo
a) alt
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; }
a) body { background-color: #FFF8DC; }
Which of the following, from outmost to innermost, are components of the box model? a) margin, boarder, padding, content b) content, padding, border, margin c) content, margin, padding, border d) margin, padding, border, content
a) margin, boarder, padding, content
Which of the following is used to change the location of an element slightly in relation to where it would otherwise appear on the page? a) relative positioning b) the float property c) absolute positioning d) this cannot be done with CSS
a) relative positioning
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
a) selectors and declarations
Which of the following is known as white space? a) the empty screener around blocks of text and images b) the background color of white used for a page c) configuring the color of the text to be white d) none of the above
a) the empty screener around blocks of text and images
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 { font: red; font-size: large; Font-family: Arial, sans-serif; } d) #news { font: red; font-size: large; Font-family: Arial, sans-serif; }
b) .news { color: red; font-size: large; Font-family: Arial, sans-serif; }
Which of the following configures a class called side to float to the left? a) .side { left: float; } b) .side { float: left; } c) .side { float-left: 200px; } d) .side { position: left; }
b) .side { float: left; }
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>
b) <a href="index.html"><img src="home.gif" alt="Home"></a>
Which tag pair configures a structural area on a web page? a) <area> </area> b) <div> </div> c) <cite> </cite> d) <strong> </strong>
b) <div> </div>
Which of the following graphic types is best suited to photographs? a) GIF b) JPG c) BMP d) PHOTO
b) 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) non of the above
b) They help the browser render the page faster because it reserves the appropriate space for the image.
Which HTML5 element has the purpose of providing tangential content? a) article b) aside c) sidebar d) section
b) aside
Which CSS property configures the background color? a) bgcolor b) background-color c) color d) none of the above
b) background-color
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
b) background-color
Which of the following properties can be used to clear a float? a) float or clear b) clear or overflow c) position or clear d) overflow or float
b) clear or overflow
Which pf the following is NOT a web design recommended practice? a) design your site to be easy to navigate b) colorful pages appeal to everyone c) design your pages to load quickly d) limit the use of animated items
b) colorful pages appeal to everyone
Select the item below that indicates the top-level domain name for the URL http://www.mozilla.com. a) mozilla b) com c) http d) www
b) com
Which of the following is a color scheme that consists of two colors that are opposite each other on the color wheel? a) analogous b) complementary c) split complementary d) contrasting
b) complementary
What is a unique text-based internet address corresponding to a computer's unique numeric IP address called? a) IP address b) domain name c) URL d) user name
b) domain name
Which of the following are the three most common methods for organizing websites? a) horizontal, vertical, and diagonal b) hierarchical, linear, and random c) accessible, readable, and maintainable d) none
b) hierarchical, linear, and random
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
b) inline
What does an e-mail link do? a) automatically send you an email message with the visitors's email address as they reply-to field b) launches the default email application for the visitors browser, with your email address as the recipient c) displays your email address so that the visit can send you a message later d) links to your mail server
b) launches the default email application for the visitors browser, with your email address as the recipient
What is the default alignment for elements on a web page? a) center b) left c) right d) wherever you type them in the source code
b) left
Which property and value are used to configure an unordered list item with a square list marker? a) list-bullet: none; b) list-style-type: square; c) list-style-image: square; d) list-marker: square;
b) list-style-type: square;
Which of the following is an HTML5 element used to indicate navigational content? a) main b) nav c) header d) a
b) nav
Which type of HTML list will automatically number the items for you? a) numbered list b) ordered list c) unordered list d) definition list
b) ordered list
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
b) padding property
Which of the following are the four principles of the web content accessibility guidelines? a) repetition, contrast, proximity, and alignment b) perceivable, operable, understandable, and robust c) accessible, readable, maintainable, and reliable d) hierarchical, linear, random, and sequential
b) perceivable, operable, understandable, and robust
Which tag is used to link web pages to each other? a) <link> tag b) <hyperlink> tag c) <a> tag d) <body> tag
c) <a> tag
Which tag configures the next element or portion of text to display on a new line? a) <line> b) <nl> c) <br> d) <new>
c) <br>
Which HTML tag configures a horizontal line on a web page? a) <line> b) <br> c) <hr> d) <border>
c) <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">
c) <link rel="stylesheet" href="style.css">
Which of the following recommended design practices apply to a website that uses images for its main site navigation? a) provide alternative text for the images b) place text links at the bottom of the page c) Both a and b d) no special considerations are needed
c) Both a and b
Of the following organizations, which one coordinates application for new TLDs? a) Internet Assigned Numbers Authority (IANA) b) Internet Engineering Task Force (IETF) c) Internet Corporation for Assigned Numbers and Names (ICANN) d) World Wide Web Consortium (W3C)
c) Internet Corporation for Assigned Numbers and Names (ICANN)
When do you need to use a fully qualified URL in hyperlink? a) always b) when linking to a web page file on the same site c) When linking to a web page file on an external site d) never
c) When linking to a web page file on an external site
Which of the following would a consistent website design NOT have? a) a similar navigation area on each content page b) the same fonts on each content page c) a different background color on each page d) the same logo in the same location on each content page
c) a different background color on each page
Which of the following causes an element to display as a block of content with white space above and below? a) display: none; b) block: display; c) display: block; d) display: inline;
c) display: block;
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.
c) external styles will be applied first, and then the embedded styles will be applied.
What is there 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
c) 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
c) 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
c) id
Which of the following is an example of using a descendant selector to configure the anchor tags within the nav element? a) nav. a b) a nav c) nav a d) a#nav
c) nav a
Which of the following should you do when creating text hyperlinks? a) create the entire sentence as a hyperlink b) include the words "click here" in your text c) use a key phrase as a hyperlink d) none of the above
c) use a key phrase as a hyperlink
Which of the following pseudo-classes is the default state for a hyperlink that has been clicked a) :hover b) :link c) :onclick d) :visited
d) :visited
Which of the following is a reason that the text contained by the title tag should be descriptive and include the name of the business or organization? a) The title is saved by default when a visitor bookmarks a web page. b) The title may be printed when a visitor prints a web page. c) The title may be listed in search engine results. d) All of the above are reasons that the text contained by the title tag should be descriptive and include the name of the business or organization
d) All of the above are reasons that the text contained by the title tag should be descriptive and include the name of the business or organization
Which of the following are influenced by the intended or target audience of a site? a) the amount of color used on the site b) the font size and styles used on the site c) the overall look and feel of the site d) all of the above
d) all of the above
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
d) all of the above
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;
d) background-repeat: repeat-y;
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
d) in the head section of the web page document
Which of the following is the rendering flow used by a browser by default? a) regular flow b) normal display c) browser flow d) normal flow
d) normal flow
Which of the following is a sketch or blueprint of a web page that shows the structure (but not the detailed design) of basic page elements? a) drawing b) HTML code c) site map d) wireframe
d) wireframe