Mastering Web Development Fundamentals
When developing a Web site, which of the following actions would be considered unethical?
A. Borrowing music from another site with the owner's written permission
B. Creating new code that provides a look and feel similar to another site
C. Linking your site to another site with permission
D. Copying some code from another Web site - correct answer ✔✔d
When you are using stock images on your Web site, a royalty-free license allows you to:
A. Use the images without paying a fee for each use.
B. Resell or transfer the images without paying a fee.
C. Use the images without purchasing a license.
D. Assume copyright of the images. - correct answer ✔✔a
Which choice describes a correct order of precedence for implementing CSS?
A. Inline styles override all other styles.
B. External styles override all other styles.
C. Internal (embedded) styles override inline styles.
D. External styles override internal (embedded) styles. - correct answer ✔✔a
During the initial meeting to plan a new Web site, whose input must be obtained?
A. Shareholders
B. Stakeholders
,C. Web developers
D. Graphic designers - correct answer ✔✔b
You can use the HTML <input>, <select>, and <text area> tags to create form fields in a Web page by
placing them between the <form> </form> container tags.
Which attribute is used with the <input> element to designate the fields that will appear in the form?
A. The type attribute
B. The name attribute
C. The value attribute
D. The action attribute - correct answer ✔✔a
You are developing a Web site in HTML5. You want the new HTML5 structural elements (such as
<header> or <article>) to be styled consistently in all browsers. You must add a CSS rule that will change
them to which type element type, to ensure the site will render successfully?
A. Inline
B. Script
C. Fixed
D. Block - correct answer ✔✔d
Which set of standards developed by the W3C Web Accessibility Initiative (WAI) project provides a
universal set of standards promoting accessibility for all Web users, including those with disabilities?
A. Web Content Accessibility Guidelines
B. User Agent Accessibility Guidelines
C. W3C Authoring Tool Accessibility Guidelines
D. Section 508 of the Rehabilitation Act - correct answer ✔✔a
, Marsha's boss directed her to create a mobile version of the company's Web site. To ensure her mobile
site is optimized, Marsha eliminates banners and advertisements. What other recommendations should
Marsha follow?
A. Use images instead of video on the Web site.
B. Use white space to give the site an uncluttered look.
C. Use Flash content to replace lengthy text descriptions.
D. Create several Web sites, each tailored to a specific mobile platform. - correct answer ✔✔b
Matthew has embedded a video in his Web page using the HTML5 video format. The video is not
rendering properly. He asks Arlene to help determine the problem, so she reviews his code, which
appears as follows:
<video height="210" class="center" controls="controls">
<video src="video.ogg" type="video/ogg" />
Your browser does not support the HTML5 video element.
</video>
What is wrong with this code?
A. The ogg video format is not supported by HTML5.
B. One of the video tag instances has not been properly closed.
C. The browser plug-in information required to view the video is missing.
D. The second instance of the <video> element should be replaced with the <source> element. - correct
answer ✔✔d
Which line of code instructs the browser to look for a directory named mysite that begins one level
higher than the page you are currently viewing?
A. mysite/index.html
B. /mysite/index.html
C. ./mysite/index.html