Explore topic-wise MCQs in Css.

This section includes 22 Mcqs, each offering curated multiple-choice questions to sharpen your Css knowledge and support exam preparation. Choose a topic below to get started.

1.

Inline style has the lowest priority

A. True
B. False
Answer» C.
2.

What does screen media type is used for?

A. For use with all devices
B. For use with handheld devices
C. For use with computer screens
D. For use with television-type devices
Answer» D. For use with television-type devices
3.

There is no single, integrated ____________________ because it is split into separate modules.

A. CSS1 specification
B. CSS2 specification
C. CSS3 specification
D. CSS4 specification
Answer» E.
4.

Which of the following CSS property is used to give a line over the text?

A. text-decoration: underline
B. text-decoration: overline
C. text-decoration: line-through
D. text-decoration: none
Answer» C. text-decoration: line-through
5.

Which CSS property is equivalent for the attribute ?

A. font-family
B. font-style
C. color
D. all of the mentioned
Answer» C. color
6.

_________ first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.

A. CSS level 1
B. CSS level 2
C. CSS level 3
D. CSS level 2.1
Answer» E.
7.

Unlike CSS 2, which is a large single specification defining various features?

A. CSS level 1
B. CSS level 2
C. CSS level 3
D. CSS level 2.1
Answer» D. CSS level 2.1
8.

Which is the latest version of CSS available?

A. CSS2
B. CSS3
C. CSS3.1
D. CSS4
Answer» C. CSS3.1
9.

Which of the following is the CSS Extension Prefixes for Webkit?

A. -webkit
B. -o-
C. -web
D. -chrome
Answer» B. -o-
10.

“font-style comes first than font-weight in font attribute”.State true or false.

A. True
B. False
Answer» C.
11.

Which CSS property is equivalent for the attribute
?

A. color
B. margin
C. align
D. font
Answer» D. font
12.

Which CSS property is Equivalent for the align attribute?

A. float
B. text-align
C. centre
D. float & text-align
Answer» B. text-align
13.

The ________________ directive allows style sheets to be grouped and joined together, though some might wonder what the value of this function is given what linked styles provide.

A. <head>
B. <style>
C. <script>
D. @import
Answer» E.
14.

Which of the following tag is used to linked information should be placed inside?

A. <head>
B. <html>
C. <div>
D. <body>
Answer» B. <html>
15.

Which of the following measurement defines measurement as a percentage?

A. %
B. cm
C. em
D. in
Answer» B. cm
16.

Which selector is used to specify a rule to bind a particular unique element?

A. id
B. class
C. tag
D. both class and tag
Answer» B. class
17.

__________ has introduced text, list, box, margin, border, color, and background properties.

A. css
B. html
C. ajax
D. php
Answer» B. html
18.

CSS stands for __________

A. Color Style Sheets
B. Cascade Sheets Style
C. Cascade Style Sheet
D. Cascading Style Sheets
Answer» E.
19.

_________ selectors are used to specify a group of elements.

A. id
B. class
C. tag
D. both class and tag
Answer» C. tag
20.

Is it the best way to include H1 heading only one time on the web page.

A. True
B. False
Answer» B. False
21.

Which of the following function two dimensional transformation in matrix format?

A. matrix()
B. matrix2d()
C. matrix3d()
D. perspective
Answer» B. matrix2d()
22.

Which of the following color has this value #ff0000?

A. blue
B. green
C. red
D. yellow
Answer» D. yellow