CSS Quiz

How well do you know CSS, take our Quiz and see how you do. If you do well why not have a boast in the comments if you don’t do so well then you should definitely subscribe to our RSS and keep up to date with any CSS tutorials we publish!

What does CSS stand for?

How do you insert a comment in CSS?

Which is the correct CSS syntax?

Which property is used to change the background color?

How do you insert padding so thats it is 10 pixels at the top, 15 pixels at the bottom, 5 pixels at the right and 10 pixels to the left?

How do you add a background color for all h1 elements?

What property is used to change the text color of an element?

What is the correct HTML for referring to an external style sheet?

How do you make each word in a text start with a capital letter?

What property is used to change the minimum height?

Which snippet of CSS is commonly used to center a website horizontally?

What property is used to a set maximum height for an element?

What property is used to change the size of text?

What is the correct CSS syntax for making all the <p> tag's font size 15px?

How do you make a list not display bullet points?

A declaration is terminated by a..

How do you display hyperlinks without an underline?

Which HTML attribute is used to define inline CSS styles?

Which of the following would be used to create am ID called footer which has a width of 750px, a height of 30px and the color of the text is black?

What is the correct Syntax for importing a stylesheet in CSS?

21 Comments to “CSS Quiz”

#1 Posted by Nico (28.05.09 at 15:58 )

Yeah. I must be a css expert 😉

#2 Posted by Jay (28.05.09 at 18:38 )

Sweeet! 20 out of 20 –> higher paying clients – here I come! 😉 Fun quiz (for the geeks at least!)



#3 Posted by Neal G (28.05.09 at 19:11 )

I got a 20 out of 20. Pin a medal on me!

#4 Posted by tudor (28.05.09 at 20:43 )

Test wasn’t that hard, wouldn’t brag about scoring 20 :)
It was fun though, keep them coming!

#5 Posted by F. Andy Seidl (28.05.09 at 21:40 )

Ah! I missed one! I did not know text-transform:capitalize… but now I do! 😉

#6 Posted by Buguletzu (28.05.09 at 22:07 )

You scored 20 out of 20. Where do I get my prize?

#7 Posted by Luke Jones/Traxor (29.05.09 at 01:21 )

I got the attribute wrong, that’s a really confusing question.

#8 Posted by honour chick (29.05.09 at 02:19 )

“20/20” blah blah blah. stop getting so cocky. the test wasn’t that hard.

#9 Posted by Jon (31.05.09 at 13:20 )


#10 Posted by Designer93 (31.05.09 at 23:36 )

“20/20″ blah blah blah. stop getting so cocky. the test wasn’t that hard.

Haha, now who’s getting cocky?

I got 20/20 btw

#11 Posted by me (01.06.09 at 19:32 )

Q:”What property is used to change the size of text?

Huh? That’s not right.

#12 Posted by Rimpy (03.06.09 at 01:19 )

Good one, well i missed one. (19/20). But keep up such more quiz. It was excellent.


#13 Posted by WebDev (05.06.09 at 15:39 )

Thanks for fun :) It was really great, at least for having a break.

#14 Posted by HumeSoosque (06.06.09 at 09:13 )

Hi, Congratulations to the site owner for this marvelous work you’ve done. It has lots of useful and interesting data.

#15 Posted by Dylan (16.06.09 at 06:47 )

That was an easy quiz. Aced it!!! Didn’t know the capitalize one but it made logical sense so i guessed it :)

#16 Posted by josephine (20.06.09 at 11:04 )

Really its very super

#17 Posted by Zen Elements (21.06.09 at 21:53 )

Well, that was a bit of fun! :)
20/20 here and sharing it onward.

Alex | @ZenElements

#18 Posted by Frumph (24.06.09 at 14:30 )

20/20 .. thought it was going to be difficult.. but really was a first glance thing.

#19 Posted by aasha (14.11.09 at 11:08 )

thought to be different but most of the question is sasme as in w3school. but questions were good. liked it.

#20 Posted by harish (05.12.09 at 13:48 )

good qiuz…………..

#21 Posted by davey (14.12.09 at 01:30 )