MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Information Science
1000 Css
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.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
Q.2
Which of the following CSS selectors are used to specify a group of elements?
a) tag
b) id
c) class
d) both class and tag
Q.3
Which of the following has introduced text, list, box, margin, border, color, and background properties?
a) HTML
b) PHP
c) CSS
d) Ajax
Q.4
Which of the following CSS framework is used to create a responsive design?
a) django
b) rails
c) larawell
d) bootstrap
Q.5
Which of the following CSS selector is used to specify a rule to bind a particular unique element?
a) tag
b) id
c) class
d) both class and tag
Q.6
Which of the following CSS property is used to make the text bold?
a) text-decoration: bold
b) font-weight: bold
c) font-style: bold
d) text-align: bold
Q.7
What will be the output of following CSS code snippet? h1 {color: "green";}
a) nothings happen
b) error occurs
c) heading becomes dark-green
d) heading becomes green
Q.8
Which of the following CSS style property is used to specify an italic text?
a) style
b) font
c) font-style
d) @font-face
Q.9
What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;}
a) color: red, text-decoration: underline works
b) only font-style: italic works
c) color: red, text-decoration: underline and font-style: italic all works
d) text-decoration: underline and font-style: italic works
Q.10
Which of the following are the CSS Extension Prefixes for Webkit?
a) -chrome
b) -web
c) -o-
d) -webkit
Q.11
Which of the following is the correct syntax to link an external style sheet in the HTML file?
a) <link rel=”stylesheet” href=”style.css” />
b) <link rel=”stylesheet” src=”style.css” />
c) <style rel=”stylesheet” src=”style.css” />
d) <style rel=”stylesheet” link=”style.css” />
Q.12
Which of the following is the first CSS specification to become an official WRecommendation?
a) CSS level 2
b) (X)HTML CSS
c) CSS level 1
d) CSS level 2.1
Q.13
Which of the following function defines a linear gradient as a CSS image?
a) gradient()
b) linear-gradient()
c) grayscale()
d) image()
Q.14
Which of the following CSS property can be used to set the image as a border instead of the border style?
a) background-image-source
b) background-image
c) border-image-source
d) border-image
Q.15
Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?
a) border-collapse
b) border-width
c) padding
d) border
Q.16
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
Q.17
Which of the following CSS property sets the font size of text?
a) font-size
b) text-size
c) text
d) size
Q.18
Which of the following is not the property of the CSS box model?
a) margin
b) color
c) width
d) height
Q.19
Which of the following CSS property sets what kind of line decorations are added to an element, such as underlines, overlines, etc?
b) text-style
c) text-decoration-line
d) text-line
a) text-decoration
Q.20
Which of the following CSS property specifies the look and design of an outline?
a) outline-style
b) outline-format
c) outline-font
d) none of the mentioned
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page