Câu 55: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3
You develop an HTML5 webpage with custom CSS. You have the following HTML markup: ... 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 cor…
Nội dung câu hỏi
You develop an HTML5 webpage with custom CSS. You have the following HTML markup: ... 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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- 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: ..,
- 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.
- 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: ...
- D. Add the new CSS rules to the webpage by using the CSS class .newsItem, and add! important to each rule. — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.