NEW
Font size
WorksheetsCSS quiz
Total questions: 15
Worksheet time: 5mins
This is a picture of a ____.
CSS Rule
HTML Rule
Tags
Coding
What color will this element be?
Green
Blue
Red
No color
The color this element will be________
Blue
Red
Green
No color
The tag #blue-text is written twice. Due to the "Order of Precedence" the text that will appear when you run the code will be what color?
Red
Blue
Green
Purple
CSS stands for
Cascading style sheet
Cyber style sheet
Cassandra style sheet
None of the above
When CSS is written inside HTML it will be saved as
css
Jsp
html
php
External css file will be saved as
.css
.html
.php
None of the above
When you use class selector
What should present infront of classname
#
&
@
.
When you use id selector
What should present infront of idname
?
@
#
.
How do you change the font of an element?
A. font-family:
B. font=
C. f:
D. None of the above
How do you make each word in a text start with a capital letter?
A.text-transform:capitalize;
B.text-transform:uppercase;
C.text-capitalize
Which tag supports CSS code between its opening and closing tag?
A.< div > ... < /div >
B.< css > ... < /css >
C.< style > ... < /style >
D.< link > ... < /link >
Which CSS property is used to control the text size of an element ?
font-style
text-size
font-size
text-style
What is the correct syntax to change the background color with css?
background-color: purple;
background-color = "purple";
backgroundcolor=orange
change-background-color: purple
Which is correct CSS syntax?
{body; colour = black;}
body: colour = black
body {
colour : black;}
{body colour is black}
