IT270 Final Exam
Which are the four principles of the Web Content Accessibility Guidelines? a. contrast, repetition, alignment, and proximity b. perceivable, operable, understandable, and robust c. accessible, readable, maintainable, and reliable d. hierarchical, linear, random, and sequential
c. accessible, readable, maintainable, and reliable
Which CSS property specifies the background color of a table? a. background b. bgcolor c. background-color d. border-spacing
c. background-color
Which CSS declaration removes extra space between table and cell borders? a. display: none; b. border-style: none; c. border-spacing: 0 d. border-collapse: 0;
c. border-spacing: 0
Which of the following recommended design practices applies 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
Which of 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
c. design your pages to load quickly
Which of the following causes an element not to display? a. display: block; b. display: 0px; c. display: none; d. display: inline;
c. display: none;
Which CSS property will configure the font typeface? a. font-face b. font-style c. font-family d. typeface
c. font-family
Forms contain various types of , such as text boxes and buttons, that accept information from a web page visitor. a. hidden elements b. labels c. form controls d. legends
c. form controls
Which of the following is a rating determined by a search engine based on the number and quality of hyperlinks to a website? a. link checking b. link rating c. link popularity d. search engine optimization
c. link popularity
Which CSS property configures the empty space between adjacent elements? a. padding b. border c. margin d. letter-spacing
c. margin
Which of the following is the attribute used to indicate whether the style sheet is for printing or for screen display? a. rel b. type c. media d. content
c. media
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. #nav a
c. nav a
When using CSS media queries, code the keyword to hide the query from older nonsupporting browsers. a. modern b. screen c. only d. print
c. only
Which CSS property configures the area between the content and the margin? a. white-space b. box-shadow c. padding d. opacity
c. padding
Which CSS property replaces the use of the HTML cellpadding attribute? a. cell-padding b. border-spacing c. padding d. border
c. padding
Which of the following will configure padding that is 15 pixels on the top, 0 pixels on the left and right, and 5 pixels on the bottom? a. padding: 0px 5px 0px 15px; b. padding: top-15, left-0, right-0, bottom-5; c. padding: 15px 0 5px 0; d. padding: 0 0 15px 5px;
c. padding: 15px 0 5px 0;
Which of the following is an image file that contains multiple small graphics? a. thumbnail b. snap c. sprite d. float
c. sprite
Which of the following form controls would be appropriate for an area that your visitors can use to type in their e-mail address? a. check box b. select list c. text box d. scrolling text box
c. text box
Which property provides a way for you to rotate, scale, skew, or move an element? a. display b. transition c. transform d. list-style-type
c. transform
Which of the following is the design of products and environments to be usable by all people, to the greatest extent possible, without the need for adaptation or specialized design? a. accessibility b. usability c. universal design d. functionality
c. universal design
Which web hosting option is appropriate for the initial web presence of an organization? a. dedicated hosting b. free web hosting c. virtual hosting d. colocated hosting
c. virtual hosting
Which tag pair configures the largest heading? a. <h1> </h1> b. <h9> </h9> c. <h type="largest"> </h> d. <h6> </h6>
a. <h1> </h1>
Choose the item that would associate a label displaying the text E-mail: with the text box named email. a. E-mail: <input type="textbox" name="email" id="email"> b. <label>E-mail: <input type="text" name="email" id="email"></label> c. <label for="email">E-mail:</label> d. <input type="text" name="email" id="email"> both b and c
a. E-mail: <input type="textbox" name="email" id="email">
Which of the following is true about domain names? a. It is recommended to register multiple domain names that are redirected to your website. b. It is recommended to use long, descriptive domain names. c. It is recommended to use hyphens in domain names. d. There is no reason to check for trademarks when you are choosing a domain name.
a. It is recommended to register multiple domain names that are redirected to your website.
Which of the following is the design technique used to create pages that stretch to fill the browser window? a. fixed b. fluid c. wireframe d. sprites
b. fluid
Which HTML attribute associates a table data cell with a table header cell? a. head b. headers c. align d. rowspan
b. headers
Which of the following are the three most common methods of organizing websites? a. horizontal, vertical, and diagonal b. hierarchical, linear, and random c. accessible, readable, and maintainable d. none of the above
b. hierarchical, linear, and random
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
b. include the words "click here" in your text
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
Which declaration configures 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;
What is the process of creating an image with the lowest file size that still renders a good-quality image—balancing image quality and file size? a. progressive enhancement b. optimization c. usability d. image validation
b. optimization
Which type of HTML list will automatically number the items for you? a. numbered list b. ordered list c. unordered list d. description list
b. ordered list
Which of the following is the recommended use of tables on web pages? a. configuring the layout of an entire page b. organizing information c. forming hyperlinks d. configuring a resume
b. organizing information
Which of the following is used along with the left, right, and/or top property to precisely configure the position of an element outside of normal flow? a. position: relative; b. position: absolute; c. position: float; d. absolute: position;
b. position: absolute;
What is the process of ensuring that web pages that are coded with new or advanced techniques are still usable in browsers that do not support the new techniques? a. validation b. progressive enhancement c. valid enhancement d. optimization
b. progressive enhancement
Which of the following is the CSS property that configures a drop shadow effect on text? a. box-shadow b. text-shadow c. drop-shadow d. shadow
b. text-shadow
What is the measure of the quality of a user's experience when interacting with a website? a. accessibility b. usability c. universal design d. assistive technology
b. usability
What type of files are .webm, .ogv, and .m4v? a. audio files b. video files c. Flash files d. none of the above
b. video files
Which of the following is an HTML API that stores information on the client? a. geolocation b. web storage c. client storage d. canvas
b. web storage
When should you code an absolute hyperlink? a. when linking to a web page that is internal to your website b. when linking to a web page that is external to your website c. always; the W3C prefers absolute hyperlinks d. never; absolute hyperlinks are obsolete
b. when linking to a web page that is external to your website
Which tag is used to hyperlink web pages to each other? a. <br> b. <hyperlink> c. <a> d. <link>
c. <a>
Which tag configures the following text or element to display on a new line? a. <new line> b. <nl> c. <br> d. <line>
c. <br>
Which tag pair is the best choice to emphasize text with italic font on a web page? a. <b> </b> b. <strong> </strong> c. <em> </em> d. <bold> </bold>
c. <em> </em>
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 tag pair configures a paragraph? a. <para> </para> b. <paragraph> </paragraph> c. <p> </p> d. <body> </body>
c. <p> </p>
Which HTML element uses a border attribute to indicate a table has a border? a. <td> b. <tr> c. <table> d. <tableborder>
c. <table>
Which tag would configure a scrolling text box with the name comments, four rows, and thirty characters? a. <textarea name="comments" width="30" rows="4"></textarea> b. <input type="textarea" name="comments" size="30" rows="4"> c. <textarea name="comments" rows="4" cols="30"></textarea> d. <textarea name="comments" width="30" rows="4">
c. <textarea name="comments" rows="4" cols="30"></textarea>
Which HTML tag pair is used to group rows in the footer of a table? a. <footer> </footer> b. <tr> </tr> c. <tfoot> </tfoot> d. <trfoot> </trfoot>
c. <tfoot> </tfoot>
Which of the following is a protocol commonly used to transfer files over the Internet? a. port b. http c. FTP d. SMTP
c. FTP
What is the purpose of private registration for a domain name? a. It protects the privacy of your web host. b. It is the cheapest form of domain name registration. c. It protects the privacy of your contact information. d. None of the above.
c. It protects the privacy of your contact information.
Which of the following is an object-based, client-side scripting language? a. HTML b. CSS c. JavaScript d. API
c. JavaScript
hat happens when a browser does not support the <video> or <audio> element? a. The computer crashes. b. The web page does not display. c. The fallback content, if it exists, will display. d. None of the above.
c. The fallback content, if it exists, will display.
Which of the following statements is true? a. No single testing tool can automatically test for all web standards. b. Include as many people as possible when you conduct usability tests. c. Search engine listings are effective immediately after submission. d. None of the above statements are true.
a. No single testing tool can automatically test for all web standards.
Which of the following is an open-source video codec? a. Theora b. MP3 c. Vorbis d. Flash
a. Theora
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
a. a similar navigation area on each content page
Which attribute of the <form> tag is used to specify the name and location of the script that will process the form field values? a. action b. process c. method d. id
a. action
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. accessibility
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. body { color: #FFF8DC; }
a. body { background-color: #FFF8DC; }
Which of the following will configure a border that is 5 pixels wide, the color #330000, and a solid line? a. border: 5px solid #330000; b. border-style: solid 5px; c. border: 5px, solid, #330000; d. border: 5px line #330000;
a. border: 5px solid #330000;
In which of the following sections of a web page should meta tags be placed? a. head b. body c. comment d. none of the above
a. head
Which of the following elements displays the contents of another web page document? a. iframe b. div c. document d. object
a. iframe
Which of the following, from outermost to innermost, are components of the box model? a. margin, border, padding, content b. content, padding, border, margin c. content, margin, padding, border d. margin, padding, border, content
a. margin, border, padding, content
Which of the following is used along with the width property to configure centered page content? a. margin-left: auto; margin-right: auto; b. margin: top-15, left-0, right-0, bottom-5; c. margin: 15px 0 5px 0; d. margin: 20px;
a. margin-left: auto; margin-right: auto;
Which of the following is an HTML5 element used to indicate navigational content? a. nav b. header c. footer d. a
a. nav
You would like to conduct a survey and ask your web page visitors to vote for their favorite search engine. Which of the following form controls is best to use for this purpose? a. radio button b. text box c. scrolling text box d. check box
a. radio button
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. static positioning c. absolute positioning d. fixed positioning
a. relative positioning
Which of the following describes 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
You would like to accept a number that is in a range from 1 to 50. The user needs visual verification of the number selected. Which of the following form controls is best to use for this purpose? a. spinner b. radio button c. check box d. slider
a. spinner
Which property enables changes in property values to display in gradual manner over a specified time? a. transition b. transform c. display d. opacity
a. transition
Which meta tag is used to configure display for mobile devices? a. viewport b. handheld c. mobile d. screen
a. viewport
Which of the following configures a CSS class called news with red text (#FF0000) and light gray background (#EAEAEA)? a. news { color: #FF0000; background-color: #EAEAEA; } b. .news { color: #FF0000; background-color: #EAEAEA; } c. .news { text: #FF0000; background-color: #EAEAEA; } d. #news {color: #FF0000; background-color: #EAEAEA; }
b. .news { color: #FF0000; background-color: #EAEAEA; }
Which of the following configures a class called notes to float to the left? a. .notes { left: float; } b. .notes { float: left; } c. .notes { float-left: 200px; } d. .notes { position: float; }
b. .notes { float: left; }
How would you link to the named fragment #jobs on the page employ.html from the home page of the site? a. <a name="employ.html#jobs">Jobs</a> b. <a href="employ.html#jobs">Jobs</a> c. <a link="employ.html#jobs">Jobs</a> d. <a href="#jobs">Jobs</a>
b. <a href="employ.html#jobs">Jobs</a>
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 src="home.gif"><img src="home.gif" alt="Home"></a>
b. <a href="index.html"><img src="home.gif" alt="Home"></a>
Which HTML element describes the contents of a table? a. <table> b. <caption> c. <summary> d. <thead>
b. <caption>
Which tag configures a horizontal line on a web page? a. <br> b. <hr> c. <line> d. <h1>
b. <hr>
Choose the tag that would configure a text box with the name "city" and a width of 35 characters. a. <input type="text" id="city" width="35"> b. <input type="text" name="city" size="35"> c. <input type="text" name="city" space="35"> d. <input type="text" name="city" width="35">
b. <input type="text" name="city" size="35">
Which HTML tag pair is used to specify table headings? a. <td> </td> b. <th> </th> c. <head> </head> d. <tr> </tr>
b. <th> </th>
Which HTML tag pair is used to begin and end a table row? a. <td> </td> b. <tr> </tr> c. <table> </table> d. <th> </th>
b. <tr> </tr>
Which of the following is a mobile web design best practice? a. Embed text in images wherever possible. b. Configure a single-column page layout. c. Configure a multiple-column page layout. d. Avoid using lists to organize information.
b. Configure a single-column page layout.
Which of the following should you do to provide for usability and accessibility? a. Use video and sound whenever possible. b. Supply text descriptions of audio files and caption video files that appear in your web pages. c. Never use audio and video files. d. None of the above.
b. Supply text descriptions of audio files and caption video files that appear in your web pages.
The purpose of is to ensure the integrity of the communication. a. IP b. TCP c. HTTP d. FTP
b. TCP
Which statement is true? a. The W3C Markup Validation Service describes how to fix the errors in your web page. b. The W3C Markup Validation Service lists syntax errors in a web page. c. The W3C Markup Validation Service is only available to W3C members. d. None of the above statements are true.
b. The W3C Markup Validation Service lists syntax errors in a web page.
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 reserve the appropriate space for the image. c. They help the browser display the image in its own window. d. None of the above.
b. They help the browser reserve the appropriate space for the image.
Which of the following is a color scheme that consists of two colors opposite each other on the color wheel? a. contrasting b. analogous c. split complementary d. complementary
b. analogous
Which of the following is an HTML5 element used to present an independent entry, such as a blog posting or comment that could stand on its own? a. section b. article c. aside d. content
b. article
Which CSS property will configure a gradient background? a. background-gradient b. background-image c. background-clip d. linear-gradient
b. background-image
Which CSS property can be used to resize or scale a background image? a. background-repeat b. background-size c. background-clip d. background-origin
b. background-size
Which CSS property will configure rounded corners? a. border b. border-radius c. radial d. margin
b. border-radius
Which of the following do you configure to apply a style to more than one area on a web page? a. id b. class c. group d. link
b. class
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
Select the item below that indicates the top-level domain name for the URL http://www.mozilla.com. a. http b. com c. mozilla d. www
b. com
Which of the following is a mobile web design best practice? a. configure a single-column page layout b. configure a multiple-column page layout c. avoid using lists to organize information d. embed text in images wherever possible
b. configure a multiple-column page layout
An External Style Sheet uses the file extension. a. ess b. css c. htm d. No file extension is necessary
b. css
Which elements can be used to configure an interactive widget? a. hide and show b. details and summary c. display and hidden d. title and summary
b. details and summary
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 is a container element that is coded along with source elements and a fallback img element to provide multiple image files that can be chosen for display by the browser? a. photo b. figure c. picture d. sourceset
b. figure
Which configures a class called news with red text, large font, and Arial or a sans-serif font using CSS? a. news { text: red; font-size: large; font-family: Arial, sans-serif; } b. .news { text: red; font-size: large; font-family: Arial, sans-serif; } c. #news { color: red; font-size: large; font-family: Arial, sans-serif; } d. .news { color: red; font-size: large; font-family: Arial, sans-serif; }
d. .news { color: red; font-size: large; font-family: Arial, sans-serif; }
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
d. :visited
What will happen when a browser encounters a new HTML5 form control that it does not support? a. The computer will shut down. b. The browser will display an error message. c. The browser will crash. d. The browser will display an input text box.
d. The browser will display an input text box.
Choose the true statement: a. The title of the web page is displayed by the meta element. b. Information about the web page is contained in the body section. c. The content that displays in the browser viewport is contained in the head section. d. The content that displays in the browser viewport is contained in the body section.
d. The content that displays in the browser viewport is contained in the body section.
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 is an HTML5 element that contains tangential content? a. header b. sidebar c. nav d. aside
d. aside
Which of the following is the CSS property used to set the background color? a. bgcolor b. color c. bcolor d. background-color
d. background-color
Which CSS property configures the background image of an element? a. background-color b. bgimage c. favicon d. background-image
d. background-image
Which of the following configures a graphic to repeat vertically down the side of a web page? a. background-repeat: repeat-x; b. background-repeat: repeat; c. valign="left" d. background-repeat: repeat-y;
d. background-repeat: repeat-y;
Which of the following causes an element to display without empty space above and below? a. display: block; b. display: static; c. display: none; d. display: inline;
d. display: none;
Which of the following font units is recommended for mobile display? a. pt unit b. px unit c. cm unit d. em unit
d. em unit
Which of the following attributes define a fragment identifier on a page? a. bookmark b. fragment c. href d. id
d. 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
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. HTML flow b. normal display c. browser flow d. normal flow
d. normal flow
Which of the following form controls would be appropriate for an area that your visitors can use to type in comments about your website? a. textbox b. select list c. radio button d. scrolling text box
d. scrolling text box
Which of the following is a sketch or diagram 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