CSS 1
CSS 2
CSS 3
CSS 4
Riddles
100

What type of language is CSS?

A. Markup language

B. Styling language

C. Programming language

What is B. Styling language?

100

What does CSS stand for?

Cascading Style Sheet
100

What CSS selector should you use to group the same/similar elements with the same styles?

What is Class?

100

True or False? Each ID has a specific set of CSS attributes that only apply to that one element.

What is True?

100

What has a head, a tail, but no body?

A coin

200

What is the value in this CSS code?

p {color: red;}

red

200

What symbols go around each CSS rule? (after the selectort)

{ }

200

What is the property in this CSS code?

p {font-size: 10px;}

font-size

200

If you have more than one property for a CSS selector, what character separates them?

; (semicolon)

200

I am not alive, but I grow; I don't have lungs, but I need air; I don't have a mouth, but water kills me. What am I?

Fire

300

Name 4 CSS Properties

What is font, font-family, color, background-color, height, width, text-decoration, font-size, padding, margin, etc. ?

300

What is the selector for a link (hyperlink)?


a { }

300

Where in the Html document is the correct location to insert code to link to your external CSS?

In the <head> section

300

Give 2 examples of a border-style.

dotted, double, solid, dashed

300

What has keys but can't open locks?

A piano

400

This CSS code is correct (True or False).

a {color: blue;}

True

400

This code is correct (True or False):

body {background-color="red"'}

What is False?

400

What is wrong with this code?

body {color=black;}

Should have : instead of =

400

What is the selector in this code?

img {width: 100px;}

img

400

The more you take, the more you leave behind. What am I?

Footsteps


500

What block of code is adding a red background color to an element with the ID name warning?

A.  .warning {background-color: red;}

B.  #warning {background-color: red;}

C.   warning {background-color: red;}

What is B?

500

How do you link your CSS to your HTML page?

<link rel="stylesheet" href="style.css">

500

How are numbers measured in CSS code?

What is pixels, px, or em? (Any one)

500

Using CSS, how would you center text?

{text-align: center;}

500

 What comes once in a minute, twice in a moment, but never in a thousand years?

The letter M