Computer Science > QUESTIONS & ANSWERS > WGU C777 – Quizzes Latest Updated 2022 with Complete Solutions (All)
WGU C777 – Quizzes Latest Updated 2022 with Complete Solutions HTML5 APIs can be used to: A) determine how to display HTML elements in your Web pages. B) call another location in the Web page or... a separate Web page when the API is selected. C) provide a development environment that enables the seamless use of proprietary browser plugins. D) create apps for mobile devices. ✔✔create apps for mobile devices. HTML5 has introduced specific elements to structure Web pages. In which structure element should you include hypertext menus to access various pages of the Web site? A) The <article> structure element B) The <aside> structure element C) The <nav> structure element D) The <section> structure element ✔✔The <nav> structure element What is an advantage of using HTML5 APIs when designing Web pages for mobile devices? A) HTML5 APIs use fewer resources than a proprietary browser plug-in does, such as battery power and CPU memory. B) HTML5 APIs streamline the application of proprietary browser plug-ins when plug-ins are included in Web pages designed for mobile devices. C) HTML5 APIs make Web pages non-responsive to varying user screen sizes, thereby saving battery power and CPU memory. D) HTML5 APIs eliminate the need for Cascading Style Sheets, thereby saving battery power and CPU memory. ✔✔HTML5 APIs use fewer resources than a proprietary browser plug-in does, such as battery power and CPU memory. Code validation is the process of: A) creating code that responds to user screen size.B) accessing another point in a Web page or separate Web page. C) determining how to display HTML elements in your Web page. D) checking your code to verify that it complies with the syntax rules for your chosen standard. ✔✔checking your code to verify that it complies with the syntax rules for your chosen standard. Consider the following HTML code: <audio> <source src="audio.mp3" type="audio/mpeg" /> <source src="audio.wav" type="audio/wav" /> <source src="audio.ogg" type="audio/ogg" /> Your browser does not support the HTML5 audio element. </audio> Which attribute and value must you add to the <audio> element to incorporate default audio operations such as Play, Pause, Volume, etc.? A) controls="controls" B) controls="default" C) controls="audio" D) controls="yes" ✔✔controls="controls" Which of the following can be considered a benefit of developing Web pages using the "Web development trifecta"? A) You can create Web pages without the need for page structure elements to define the document structure. B) You can create Web pages without the need for hyperlinks. C) You can create Web pages that no longer need to be validated to an HTML standard in order to properly render in any browser or device.D) You can create Web pages that easily adapt to smartphones, tablets, gaming devices and smart TVs, as well as to traditional computers. ✔✔You can create Web pages that easily adapt to smartphones, tablets, gaming devices and smart TVs, as well as to traditional computers. For what should you use the controls attribute of the <video> element? A) To add video controls such as the Play, Pause, Rewind and Volume controls B) To identify the format, or MIME type, of the video C) To identify the location and file name of the media resource D) To identify an image to be displayed until the Play button is clicked or while the video is downloading ✔✔To add video controls such as the Play, Pause, Rewind and Volume controls You can use a Graphical User Interface (GUI) editor to create Web pages, or you can manually code them using HTML5 and CSS3. Why is it important to understand what goes on behind the GUI of a Web editor? A) You will be able to resize your Web pages to conform to the size of a device's screen. B) You will be able to troubleshoot code issues when the GUI Web editor fails. C) You will be able to create apps for mobile Web browsers. D) You will be able to change the GUI interface to more closely suit your coding habits. ✔✔You will be able to troubleshoot code issues when the GUI Web editor fails. Consider the following HTML code: <video width="360" height="270" controls="controls" poster="image.png"> <source src="video.mp4" type="video/mp4" /> <source src="video.webm" type="video/webm" /> <source src="video.ogg" type="video/ogg" /> Your browser does not support the HTML5 video element. </video> What attribute prevents the first frame of the video from displaying while the video is downloading?A) The type attribute B) The src attribute C) The controls attribute D) The poster attribute ✔✔The poster attribute What does the W3C Markup Validation Service use to determine the HTML specification against which to validate your Web page markup code? A) The specified DTD in the <nav> section of your HTML page B) The specified DTD in the <main> section of your HTML page C) The <!DOCTYPE> declaration in the <header> section of your HTML page D) The specified DTD in the <!DOCTYPE> declaration on your HTML page ✔✔The specified DTD in the <!DOCTYPE> declaration on your HTML page What attribute should you add to the <audio> element if you want your audio to play over and over again without stopping? A) autoplay="autoplay" B) loop="autoplay" C) autoplay="loop" D) loop="loop" ✔✔loop="loop" What can you do to ensure that your Web page content is rendered appropriately regardless of the browser used to render it? A) Incorporate languages and technologies such as Java, ActiveX, Microsoft Silverlight and Adobe Flash in your Web pages. B) Follow W3C standards carefully, choose one standard version of any given language you use, and apply that standard consistently. C) Write code in multiple versions of any given language to maximize the number of browsers in which your pages will render correctly. D) Avoid using HTML5 APIs in your Web pages. ✔✔Follow W3C standards carefully, choose one standard version of any given language you use, and apply that standard consistently.Which HTML 4.01 flavor required the separation of presentation and content? A) HTML 4.01 Standard B) HTML 4.01 Strict C) HTML 4.01 Frameset D) HTML 4.01 Transitional ✔✔HTML 4.01 Strict To what does the term "app" refer? A) Relatively small programs that enable components of an application to work together to produce a desired functionality B) Relatively small applications developed exclusively for mobile devices C) Relatively simple Web pages that respond to user screen size D) Relatively simple Web pages that work in multiple environments ✔✔Relatively small applications developed exclusively for mobile devices The HTML5 specification supports, among others, the popular MP3, Ogg and WAV audio formats. Which of the following major Web browsers supports all three of these formats? A) Firefox and Internet Explorer 10 B) Chrome and Firefox C) Internet Explorer 10 and Chrome D) Safari and Firefox ✔✔Chrome and Firefox What distinguishes Extensible HTML (XHTML) from other versions of HTML? A) XHTML incorporates the strict syntax rules of Extensible Markup Language (XML) with the existing set of HTML 4.01 tags to create Web documents. B) XHTML standardizes how video and audio are presented on a Web page. C) XHTML establishes ways to enable drag-and-drop capability for Web pages without using third-party add-ons. D) XHTML gives developers more native tools to use on a page, such as download progress indicators, image captioning options and form validation. ✔✔XHTML incorporates the strict syntax rules of Extensible Markup Language (XML) with the existing set of HTML 4.01 tags to create Web documents.Which of the following is no longer necessary when you use HTML5 to develop Web pages? A) Applying a single W3C standard consistently throughout your document B) Validating your markup code C) Installing a third-party plug-in to include video D) Using a scripting language to enhance a Web page ✔✔Installing a third-party plug-in to include video What does it mean to create Web pages with "responsive design"? A) Your Web pages respond to user screen size and work in multiple environments. B) Your code validates properly so that the code will be recognized by most user agents. C) Your Web pages incorporate languages and technologies such as Java, ActiveX, Microsoft Silverlight and Adobe Flash. D) Your Web pages appear statically regardless of the device used to view them. ✔✔Your Web pages respond to user screen size and work in multiple environments. Which technology enables you to place formatting instructions in an external text file to determine how HTML elements in a Web page will display? A) Geolocation B) HTML5 APIs C) HTML5 D) Cascading Style Sheets ✔✔Cascading Style Sheets Which of the following can be considered a benefit of Cascading Style Sheets (CSS)? A) You can use CSS in lieu of HTML to develop Web pages. B) One simple change to the style sheet will change all associated elements across the site. C) Web pages that are linked to a CSS document are more likely to be interpreted accurately by the majority of user agents. D) Making changes to elements in the site will update the style sheet. ✔✔One simple change to the style sheet will change all associated elements across the site.HTML5 has introduced specific elements to structure Web pages. In which structure element should you include content that is directly related to the subject of the document? A) The <article> structure element B) The <nav> structure element C) The <main> structure element D) The <section> structure element ✔✔The <main> structure element Canvas is an HTML5 API that provides a place on a Web page (a "canvas") where you can display graphics, animation, video and games dynamically without the need for a plug-in. Which of the following should you use to create objects on a canvas? A) Flash B) CanvasScript C) Cascading Style Sheets (CSS) D) JavaScript ✔✔JavaScript Why is it important that you adopt a single W3C standard and apply it consistently to your Web page markup? A) When you validate your markup code, the code will match the DTD (standard syntax rules) that you specify. B) You can more easily structure your Web page without the need of document structure tags. C) When you validate your markup code, only invalid code will be marked as such. D) When you validate your markup code, the validation program can easily identify the actual cause of any invalid code. ✔✔When you validate your markup code, the code will match the DTD (standard syntax rules) that you specify. With respect to style sheets, inheritance is the ability for styles that you apply to an element to: A) be passed down throughout the rest of the document(s). B) override the style attribute in the element. C) be uploaded to the linked style sheet. D) override the style attributes in the element. ✔✔be passed down throughout the rest of the document(s).What can be considered a disadvantage of using Cascading Style Sheets 3 (CSS3) to apply styles to your Web pages? A) CSS3 cannot be used in conjunction with scripting languages when developing Web pages. B) No styles guides exist for CSS3. C) CSS3 no longer allows styles to be inherited throughout your Web document. D) Most non-HTML5-compliant browsers cannot interpret CSS3. ✔✔Most non-HTML5- compliant browsers cannot interpret CSS3. Consider the following HTML and style sheet code: <!-- NAVIGATIONAL SIDEBAR -> <nav> <ul> <li><a href=http://www.habitat.org/how/about_us.aspx>Learn more</a></li> <li><a href=http://www.habitat.org/getinv/volunteer_programs.aspx>Volunteer</a></li> <li><a href=http://www.habitat.org/gov>Advocate</a></li> <li><a href=https://www.habitat.org/cd/giving/donate.aspx?r=r&link=1>Donate</a></li> </ul> </nav> nav { float: left; width: 165px; background: #fc3 url(navbg_04.gif) repeat-y top right; height: 662px; } What can you infer from the example code? A) A background image (navbg_04.gif) will appear to the left of the sidebar.B) The sidebar will float on the right side of the document. C) The sidebar will always appear 165 pixels wide and 662 pixels high. D) The sidebar will appear at the top-right side of the document. ✔✔The sidebar will always appear 165 pixels wide and 662 pixels high. What page layout should you use if you want to create Web pages whose text, images and layout will not vary from browser to browser? A) Liquid layout B) Fluid layout C) Relative-width layout D) Fixed-width layout ✔✔Fixed-width layout Why should you use succinct wording on Web pages, especially the home page, when designing your site? A) Because you need to allow room on each page for as many navigational aids as possible B) Because most users want to see all topics on each page for easy reference C) Because most users simply scan pages quickly looking for specific information or links to it D) Because you need to allow room on each page for comments within the source code ✔✔Because most users simply scan pages quickly looking for specific information or links to it The CSS Box Model consists of four rectangular boxes that can be configured to create space and a border around each HTML element. Which Box Model element defines the space between the HTML content and its surrounding border? A) Table B) Margin C) Padding D) Block ✔✔Padding Consider the following code from a CSS document: body {background-color: #008080; color: #FFFFFF;}This code is an example of what? A) A rule B) A value C) A declaration D) A property ✔✔A rule Why would you use an id selector with your CSS styles? A) To apply a specific CSS style to a group of like elements B) To apply a specific CSS style to one unique element C) To define the relationship between an HTML document and the external CSS file to which it is linked D) To specify an external CSS file's MIME type ✔✔To apply a specific CSS style to one unique element What happens when you place a CSS rule between the /* and */ characters? A) The rule will take precedence. B) The rule will apply only to the default page in a Web site. C) The rule will be ignored. D) The rule will override all other styles in the HTML document. ✔✔The rule will be ignored. What is a CSS selector? A) The property in a markup tag to which designated styles are applied B) The value in a markup tag you want to change with a CSS style C) Any element to which designated styles are applied D) A format instruction in a CSS file ✔✔Any element to which designated styles are applied If your company standard is to use Windows XP and IE8, what can you do to create a company intranet using HTML5 and CSS elements? A) You must define structural elements using HTML 4.01, and add a new rule to CSS to define the HTML 4.01 structural elements as block-level elements.B) You must add JavaScript code to your HTML documents to create HTML5 structural elements, and add a new rule to CSS to define the HTML5 structural elements as block-level elements. C) You must define structural elements using XML, and add a new rule to CSS to define the XML structural elements as block-level elements. D) You must define structural elements using XHTML, and add a new rule to CSS to define the XHTML structural elements as block-level elements. ✔✔You must add JavaScript code to your HTML documents to create HTML5 structural elements, and add a new rule to CSS to define the HTML5 structural elements as block-level elements. What is the default value for aligning images relative to text using CSS? [Show More]
Last updated: 2 years ago
Preview 1 out of 71 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Sep 30, 2022
Number of pages
71
Written in
This document has been written for:
Uploaded
Sep 30, 2022
Downloads
0
Views
148
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·