Font size
WorksheetsCSS - Day 4
Total questions: 21
Worksheet time: 24mins
CSS stands for
Cascading style sheet
Cyber style sheet
Cassandra style sheet
None of the above
What are the three types of style sheet
Internal, external, inline
Inline, internal, extreme
Insidious, internal, external
None of the above
<link type="stylsheet" href="exx.css"> belongs to
External
Internal
Inline
None of the above
External css file will be saved as
.css
.html
.php
None of the above
When you use id selector
What should present infront of idname
?
@
#
.
When you use class selector
What should present infront of classname
#
&
@
.
Where should you put the link tag to connect your CSS and HTML file?
Between the <head> </head> in HTML
Between the <body> </body> in HTML
None of the above.
Which of the following is the correct CSS link tag?
<link rel="styles" href="stylesheet.css">
<link href="stylesheet">
<link rel="stylesheet" src="styles.css">
<link rel="stylesheet" href="styles.css">
Set the color of the border
border-style
border-width
border-color
width
The blue is called an _____________
Declaration
Selector
Property
Value
What is the main advantage of inline CSS?
A.It's quicker to write
B.It links to an external file
C.You can write it in 3 languages
D.There are no advantages
Which CSS property controls the text size?
text-size
font-size
text-style
font-style
Which of the following properties would allow you to change the style of the text in a paragraph?
color
text-align
font-family
text-size
text-decoration
What's the error in the following CSS code?
The background color is not set.
The width and height values are missing units (e.g., px).
The padding and margin values are too small.
There are no errors in the code.
How do you define a CSS class "myClass" on an element?
<div class="myClass">...</div>
<div>...</div class="myClass">
<div><class>myClass</class>...</div>
<class>myClass<div>...</div></class>
What is the fixed size, like a tiny dot on a screen?
Pixels (px)
Percentage (%)
Viewport Units (vw and vh)
