Complete the code to set the background color of the page to light blue.
body { background-color: [1]; }The background-color property sets the background color of an element. Here, lightblue gives a soft blue background.
Complete the code to make all paragraphs have a font size of 16 pixels.
p { font-size: [1]; }The font-size property controls the size of text. 16px sets the font size to 16 pixels, which is a common readable size.
Fix the error in the code to correctly center text inside a div.
div { text-align: [1]; }The text-align property controls horizontal alignment of text. Using center centers the text inside the div.
Fill both blanks to create a CSS rule that makes all links blue and removes the underline.
a { color: [1]; text-decoration: [2]; }The color property sets the text color, here to blue. The text-decoration property controls decorations like underlines; none removes the underline from links.
Fill all three blanks to create a CSS rule that sets a red border, 10 pixels wide, and solid style around images.
img { border-color: [1]; border-width: [2]; border-style: [3]; }The border-color sets the border color to red. border-width sets the thickness to 10 pixels. border-style defines the border line style; solid means a continuous line.