Selector
Change the color of all p (paragraph) elements to "red".
Change the color of the element with id=para1 , to "red".
Change the color of all elements with the class "colortext", to "red".
Change the color of all p (paragraph) and h1 (header1) elements, to "red". Group the selectors to minimize code.
CSSPosition
Add an external style sheet with the URL: "mystyle.css".
Set "background-color: linen" for the page, using an internal style sheet.
Set "background-color: linen" for the page, using an inline style.
Background
Set the background color for the page to "linen" and the background color for h1 to "lightblue".
-------- Set "a.png" as the background image of the page.
Use the shorthand background property to set
background image to "img_tree.png", show it once, in the top right corner.
Border
Set a "4px", "dotted" border for "p" .
With the border property: Set the border for p to "10px", "solid" and "green".
Margin
Set all margins for h1 to "25px".
Use the margin property to set the top and bottom margins for h1 to "50px", and left and right margins to "25px".
Use the margin property to center align the h1 element.
Padding
Set the top padding of p to "30px".
Set all paddings for p to "50px".
Use the padding property to set the top and bottom paddings for p to "25px", and left and right paddings to "50px".
----------------------------------------------