CSS Random Quiz for Newbies

00
:00

This quiz contains basic questions of CSS. It will help you see what you know or do not know about CSS.

Time to do: 10 mins

Questions: 20

Start Quiz
Back
Next

Which HTML tag is used to define an internal style sheet ?

Which is the correct CSS syntax ?

How do you make a list that lists its items with squares ?

How do you display a border like this:

The top border = 10 pixels

The bottom border = 5 pixels

The left border = 20 pixels

The right border = 1pixel

How do you change the left margin of an element ?

What does CSS stand for ?

How do you display hyperlinks without an underline ?

To define the space between the element's border and content, you use the padding property, but are you allowed to use negative values ?

How do you insert a comment in a CSS file ?

Where in an HTML document is the correct place to refer to an external style sheet ?

How do you change the font of an element ?

How do you make the text bold ?

Which HTML attribute is used to define inline styles ?

How do you change the text color of an element ?

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

Which CSS property controls the text size ?

Which property is used to change the background color ?

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

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

What is the correct CSS syntax for making all the <p> elements bold ?

We use cookies for advertisement solutions and for analytics. By using our site, you acknowledge that you have read and understand our Privacy Policy and Terms of Use.

I understand

Login
OR
Submit