HTML and CSS Reference
In-Depth Information
Referencing the HTML listing, how would you apply a new font to all the H1 elements?
In addition, the <h1> elements in an article should be italic.
2.
A.
h1 {
font-family: 'Courier New';
article h1 {
font-style:italic;
}
}
B.
h1 {
font-family: 'Courier New';
}
article h1 {
font-style:italic;
}
C.
h1 {
font-family: 'Courier New';
font-style:italic;
}
article h1 {
font-style:italic;
}
D.
h1 {
font-family: 'Courier New';
}
article, h1 {
font-style:italic;
}
Referencing the preceding HTML listing, write the CSS code to apply a border to the
aside element that is 100 pixels high and 50 pixels wide. In addition, provide a shadow
effect and slightly skew the element to the right 5 degrees.
3.
Search WWH ::




Custom Search