Question: HTML with CSS Exercise Description: In this exercise, you will apply the CSS skills that you learned to an existing HTML document. The resulting page
HTML with CSS Exercise
Description: In this exercise, you will apply the CSS skills that you learned to an existing
HTML document. The resulting page should look something like the screen shot that follows.
Open the HTML and CSS files that follow, and note that the CSS file includes one
rule set:
cxsorkin.html
stylescxsorkin.css
Add a link element to the head section of the HTML file for the normalize.cssresetcss stylesheet.
Code a rule set for the html element that sets the background color to yellow.
ITC Summer
Enhance the rule set for the body so the width is pixels, and the body has a double
blue border around it like the one above. If you need to make any other changes to the
body, do that too.
Apply CSS styling for the footer that puts a blue border above it Note that this border
doesnt touch the border for the body.
Apply the CSS styling for the h h and h elements. The h font should be px the h
font should be px and the h font should be px The h font should also be blue.
Then, apply appropriate margins or padding to the h h and h elements so the spacing
before and after the headings is similar to whats shown above.
Style the blockquote, ul and li elements so the spacing before and after the elements
is similar to whats shown above.
Code a rule set for the cite element that changes its color to blue and removes the italics
from the text.
Apply the CSS styling for the paragraphs. This rule set should right align the paragraphs.
One way to do this is to add a class attribute to these paragraphs and use that class as the
selector for the rule set.
Float the image to the left and apply appropriate margins or padding so the text flows to its
right as shown above.
Apply CSS rules to the footer or the paragraphs within the footer so the font size is px
the font weight is bold, the paragraphs are centered, and the spacing above and below is
similar to what is shown above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
