WGU Post Assessment C777 Questions and answers, 100% Accurate. Verified 2024
Question 67 :How can you override a particular style in an HTML element if the HTML document is linked to a style sheet? - -By applying an inline CSS style attribute to the element whose style you want to override. Explanation: Answer C is correct.The styles you define in a style sheet will flow, or cascade, throughout the documents to which it is attached, unless another style defined inside of a page specifically overrides it. The style defined in an HTML element is called an inline CSS style. You can apply CSS styles to HTML documents in several ways. You can: declare an inline CSS style attribute in an HTML element, link an HTML page to an external style sheet, and embed an internal style sheet in an HTML page. Question 68 :What is the purpose of using the <output> element in a Web form? - -It displays the result of a calculation in the form. Explanation: Answer D is correct. When a Web page form performs a calculation for the user, the result (or output) of the calculation can be displayed by using the HTML5 <output> element. Calculations are usually performed by a script, but the <output> element provides semantic meaning to the calculation results. The HTML5 <keygen> element is used to generate a key pair to add security in an HTML form. The HTML5 <datalist> element provides pre-defined options that sort and autocomplete themselves as users type into the field. The <input> element generates various form field types, depending on the attribute specified with it. Which of the following is a JavaScript event that occurs when a page opens in the browser? - -Load Explanation: Answer C is correct.The load event occurs when the page opens, or loads, in the browser. The unload event occurs when the user leaves the page to go to a new page. It is important that you do not confuse user-driven events with script-driven event handlers. The onload event handler determines the response that will occur upon the load event. The onunload event handler determines the response that will occur upon the unload event.
Written for
- Institution
-
Western Governors University
- Course
-
WGU C777
Document information
- Uploaded on
- October 26, 2023
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu post assessment c777 questions and answers 10
Also available in package deal