NEW
Font size
WorksheetsCSS - Quiz 1
Total questions: 40
Worksheet time: 26mins
p {color: red;}
border./* This is a multi-line comment */
p {color: red;}
What is wrong with this code?
The style sheet <link> statement belongs between <head> and </head>
The style sheet <link> statement belongs between <title> and </title>
The style sheet <link> statement belongs between </head> and <body>
The style sheet <link> statement belongs immediately after the DOCTYPE statement
Which rule set would change the font size to 24?
font-size: 24
size: 24;
font-size: 24;
font size: 24;
Which CSS selector applies to the yellow element(s) only? Select the correct answers!
li a{ ... }
li.a{ ... }
li, a{ ... }
li-a{ ...}
none of the above
Which color value in CSS gives a transparency effect?
Color Names
Hex Codes
RGB
RGBA
What will this rule set create?
h1 {
text-decoration: underline overline dotted red;
}
red waves under the heading
red dots over and under the heading
red waves over and under the heading
red dots over the heading
Why doesn't the second rule work?
Missing bracket
Spelling error
Wrong selector
Why won't the background image work?
Spelling error
Missing bracket
Wrong selector
What does this show?
One Declaration
One property
One rule
What part of a rule ends with a semicolon?
Selector
Property
Value
What type of SELECTOR does this rule have?
Class
ID
Tag
What type of selector is this?
Class
ID
Tag
If you want to control space BETWEEN two elements, which property do you add?
Margin
Padding
Spacing
What property puts more space INSIDE an element like the <main> ?
Padding
Margin
Width
What's wrong with this page's structure?
Nesting issues
Overlapping tags
Missing brackets
Which one is a PROPERTY?
width:
1000px;
#wrapper
What does CSS mean?
Cascading Style Sheets
Crafty Style Sayings
Cryptic Smooth Style
Why add CSS to your webpage?
Control the look of your page
Add elements like text & images
Make your page interactive
How many selectors are there in this rule?
1
2
3
The bracket should go after the...
Selector
Declaration
Value
Which one is a VALUE?
#313CFF;
#nav
font-size:
