Q.1
Which is correct CSS syntax?
  • { body; color=black;}
  • body: color= black
  • body {color:black;}
  • (body color is black)
Q.2
The style that you are applying to a selector, e.g. border.
  • Property
  • Value
  • Keyword
  • Length Units
Q.3
The elements <DIV> and <SPAN> have the following characteristics
  • Element <DIV> inherits properties defined for <SPAN> in a stylesheet
  • Elements <SPAN> and <DIV> define content to be inline or block-level
  • <DIV> and <SPAN> are used as alternatives for the element <P>
  • <DIV> is used inside element <P>.
Q.4
Which is the correct way to specify the color of a paragraph of text?
  • p { color:#ff0000; }
  • p { text-color:#ff0000; }
  • p { font-color: #ff0000; }
Q.5
A selector (ex: h} ) can only have 1 property
  • true
  • false
Q.6
The code for the comment tag in CSS is
  • <!-- comment -->
  • <!-- comment >
  • /* comment /*
  • /* comment */
Q.7
How do I remove the underline from a link using CSS?
  • a {underline: none;}
  • a {text-decoration: none;}
  • a {style: none;}
  • link {underline: none;}
Q.8
Which is the correct way to format a Font Family for a paragraph? (Hint: make sure you have more than one backup font!)
  • p { font-face: Arial, Verdana, San-Serif; }
  • p { font-family: Arial, Verdana, San-Serif; }
  • p { family-font: Arial, Verdana, San-Serif; }
  • p { font: Arial, Verdana, San-Serif; }
Q.9
Which is the property in this CSS?p {color: red;}
  • p
  • color
  • red
Q.10
Which is the Value in the CSS?p {color: red;}
  • p
  • color
  • red
0 h : 0 m : 1 s