aInfoEra
Home
MCQs
CSS — Quiz
CSS MCQ
10 questions · Test your knowledge
Home
/
MCQs
/
CSS MCQ
1
What is CSS?
A
CSS is a style sheet language
B
CSS is designed to separate the presentation and content, including layout, colors, and fonts
C
CSS is the language used to style the HTML documents
D
All of the mentioned
2
Who invented CSS?
A
Hakon Wium Lie
B
Sergey Brin
C
Rasmus Lerdorf
D
Brendan Eich
3
Which of the following tag is used to embed css in html page?
A
<css>
B
<!DOCTYPE html>
C
<script>
D
<style>
4
In CSS, what does h1 can be called as _______
A
Attribute
B
Selector
C
Tag
D
Value
5
Which of the following CSS framework is used to create a responsive design?
A
django
B
rails
C
larawell
D
bootstrap
6
Which type of HTML tag is used to define an internal style sheet?
A
<script>
B
<link>
C
<class>
D
<style>
7
Which of the following function defines a linear gradient as a CSS image?
A
gradient()
B
linear-gradient()
C
grayscale()
D
image()
8
Which of the following CSS property is used to set the text formatting?
A
font-style
B
text-decoration
C
font
D
all of the mentioned
9
Which of the following is the correct way to apply CSS Styles?
A
in an external CSS file
B
inside an HTML element
C
inside the <head> section of an HTML page
D
all of the mentioned
10
Which of the following CSS property sets the font size of text?
A
font-size
B
text-size
C
text
D
size
Submit Quiz
Back to All Quizzes