Nick
08-11-2013, 08:32 AM
As you may remember Lee posted a HTML quiz around this time last year (wow time goes so quick!) So I have decided to follow onto that by brining you a CSS quiz! Below are 10 questions related to CSS. To enter please send a PM to Forum God (http://www.habboxforum.com/private.php?do=newpm&u=69954) with your answers before the 15th of November. 2 random entries with all the correct answers with either receive 1 Months VIP or 100 Reputation Points.
1) What does CSS stand for?
2) What is the correct syntax for CSS in general?
p {font-family}{Verdana};
p {font-family: Verdana;}
p font-family: Verdana};
3) How do you make font bold with CSS?
font: bold;
font-weight: bold;
font-style: bold;
4) What is the correct place in a HTML file to add an external style sheet?
<div>
<body>
<head>
5) What is the correct syntax for adding a border?
border: black;
border: 1px solid black;
border; 1px solid black:
6) The correct syntax for getting a different colour background would be?
bgcolor: red;
background-color: red;
background: red;
7) Using the symbol * in a CSS file means?
Changes everything
Changes the first heading
Changes the last paragraph
8) What is the correct way to add a comment?
/* Comment */
<!--Comment-->
// Comment
9) I want my first paragraphs font to be red with a font style of arial. How do I do that?
p {font-family: Arial; color: red;}
p {font-style: Arial; color: red;}
{p font-family: Arial; color: red};
10) What is generally used to center an element?
center;
margin: 0 auto;
margin: center;
Goodluck to everyone who enters!
1) What does CSS stand for?
2) What is the correct syntax for CSS in general?
p {font-family}{Verdana};
p {font-family: Verdana;}
p font-family: Verdana};
3) How do you make font bold with CSS?
font: bold;
font-weight: bold;
font-style: bold;
4) What is the correct place in a HTML file to add an external style sheet?
<div>
<body>
<head>
5) What is the correct syntax for adding a border?
border: black;
border: 1px solid black;
border; 1px solid black:
6) The correct syntax for getting a different colour background would be?
bgcolor: red;
background-color: red;
background: red;
7) Using the symbol * in a CSS file means?
Changes everything
Changes the first heading
Changes the last paragraph
8) What is the correct way to add a comment?
/* Comment */
<!--Comment-->
// Comment
9) I want my first paragraphs font to be red with a font style of arial. How do I do that?
p {font-family: Arial; color: red;}
p {font-style: Arial; color: red;}
{p font-family: Arial; color: red};
10) What is generally used to center an element?
center;
margin: 0 auto;
margin: center;
Goodluck to everyone who enters!