You need to apply the appropriate CSS rules to meet the requirements

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.ess.
The corporate.ess file contains the style rule that must be used for .newsItem.
You must use the corporate.ess 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.ess file.
You need to apply the appropriate CSS rules to meet the requirements.
What should you do?

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.ess.
The corporate.ess file contains the style rule that must be used for .newsItem.
You must use the corporate.ess 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.ess file.
You need to apply the appropriate CSS rules to meet the requirements.
What should you do?

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>

B.
Update the corporate.ess 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.

G.
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>

D.
Add the new CSS rules to the webpage by using the CSS class .newsItem, and add!
important to each rule.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Alex

Alex

I like the option A (in fact I use this a lot).

Google

Google

Every once in a when we decide on blogs that we read. Listed beneath are the most up-to-date web-sites that we choose.