NEW
Font size
WorksheetsCss quizz kec
Total questions: 20
Worksheet time: 8mins
What does a class do?
adds color to words
adds style to specific elements
adds style to a whole page
adds a lot more work
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">
How many different styling techniques are used in CSS?
2
4
3
1
Style tag will come inside body for
External
Inline
Internal
All of the above
When you use class selector
What should present infront of classname
#
&
@
.
Is CSS
Used in client side scripting
Used in server side scripting
Both server and client side scripting
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
When CSS is written inside HTML it will be saved as
css
Jsp
html
php
The correct sequence of HTML tags for starting a webpage is -
Head, Title, HTML, body
HTML, Body, Title, Head
HTML, Head, Title, Body
HTML, Head, Title, Body
Which tag is used to create a line break in HTML?
<br>
<lb>
<break>
<line>
sets the color of words in a paragraph
h1 {
color: pink;
}
img {
color: pink;
}
body {
color: pink;
}
p {
color: pink;
}
Select the rule set to make all the text in your web page blue and centered.
p {
color: blue;
}
body {
text-align: left;
color: blue;
}
p {
text-align: center;
color: blue;
}
body {
text-align: center;
color: blue;
}
What is the correct syntax to change the background color with css?
background-color: purple;
background-color = "purple";
backgroundcolor=orange
change-background-color: purple
