READ Free Dumps For Microsoft- 70-480
Question ID 14964 You develop a webpage by using HTML5.
The user interface of the webpage must show a gray-lined box that contains the label Enter
your information:. Inside the box are two labels and two input boxes. The first input box
must be labeled Name:. The second input box must be labeled Email:. Below the box is a
Submit button.
The user interface must look like the following;
You need to create the user interface.
Which markup should you use?
Option A Option A
Option B Option B
Option C Option C
Option D Option D
Correct Answer B
Explanation Explanation: * The
tag is used to group related elements in a form. The tag draws a box around the related elements. The tag defines a caption for the element. Example: Group related elements in a form: Reference: HTML Tag; HTML Tag
Question ID 14965 You develop an HTML5 webpage with custom CSS. You have the following HTML markup:
<div class="new" Item">...</div>
You have the following requirements:
✑ In addition to your CSS, you must use a corporate branded stylesheet named
corporate.css.
✑ The corporate.css file contains the style rule that must be used for .newsItem.
✑ You must use the corporate.css file to ensure that the webpage changes when the
brand changes.
✑ You must add additional style rules to the webpage.
✑ You cannot modify the corporate.css file.
You need to apply the appropriate CSS rules to meet the requirements.
What should you do?
Option A Add a CSS class named .newsItemUpdates to the webpage, add only the new styles to this class, and update the class attribute of the HTML markup: <div class=nnewsltem newsItemUpdates">..,</div>
Option B Update the corporate.css file to include! important for each rule for the .newsItem. class, and add the new CSS rules to the webpage by using the CSS class .newsItem.
Option C Add a CSS class named .newsitemUpdates to the webpage, add the new styles to this class, and update the HTML markup to replace the .newsItem class with this new class: <div class*"newsItemOpdates">...</div>
Option D Add the new CSS rules to the webpage by using the CSS class .newsItem, and add! important to each rule.
Correct Answer D
Explanation Explanation: CSS attempts to create a balance of power between author and user style sheets. By default, rules in an author's style sheet override those in a user's style sheet. However, for balance, an "!important" declaration (the delimiter token "!" and keyword "important" follow the declaration) takes precedence over a normal declaration. Both author and user style sheets may contain "!important" declarations, and user "!important" rules override author "!important" rules. This CSS feature improves accessibility of documents by giving users with special requirements (large fonts, color combinations, etc.) control over presentation. Incorrect: Not B: It is stated that you are not allowed to update the corporate.css file. Reference: Assigning property values, Cascading, and Inheritance, !important rules