Explore topic-wise MCQs in Css.

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

1.

Which of the following unit represent the viewport’s width?

A. vh
B. vmin
C. vw
D. ch
Answer» D. ch
2.

Which of the following element is used for linking a External Files to the html page?

A. <script>
B. <style>
C. <link>
D. all of the above
Answer» D. all of the above
3.

For External Style Sheets in some cases when @import is used, the browser may cause a rendering “flash” under slow loading conditions.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
4.

___________ describes CSS properties to manipulate the position of “ruby”, which are small annotations on top of or next to words, especially common in Chinese and Japanese.

A. align
B. ruby
C. lang
D. text-align
Answer» C. lang
5.

Which of the following element is used to specify multiple media resources for media elements like audio and video?

A. <source>
B. <link>
C. <script>
D. <src>
Answer» B. <link>
6.

Which of the following function applies a saturation effect to an element’s color, making it appear more or less vivid, for use by the filter property?

A. color()
B. saturation()
C. saturate()
D. none of the mentioned
Answer» C. saturate()
7.

With, which tag you write the style rules directly within the document found within the head of the document.

A. <script>
B. <php>
C. <style>
D. <css>
Answer» D. <css>
8.

For Inline Style, we don’t need to reapply style information throughout the document and outside documents.

A. True
B. False
C. May be
D. Can't say
Answer» C. May be
9.

Which of the following function flips an element’s colors, for use by the filter property?

A. image()
B. flip()
C. invert()
D. contrast()
Answer» D. contrast()
10.

Which of the following measurement defines a measurement relative to a font’s x-height?

A. ex
B. em
C. pt
D. px
Answer» B. em
11.

Which of the following function apply a sepia tinge to an element’s color, typical of old photographs, for use by the filter property?

A. grayscale()
B. sepia()
C. contrast()
D. brightness()
Answer» C. contrast()
12.

Which of the following tag can be used to embed a Document-wide styles in a document’s head element?

A. <head>
B. <style>
C. <script>
D. <html>
Answer» C. <script>
13.

In CSS, “font-size” can be called as ________

A. Selector
B. Rule
C. Property
D. Property-Name
Answer» E.
14.

In css, “color:red” can be called as _____________

A. Selector
B. Rule
C. Declaration
D. Value
Answer» D. Value
15.

CSS stands for __________In CSS, h1 can be called as _______

A. Color Style SheetsSelector
B. Cascade Sheets StyleAttribute
C. Cascade Style SheetValue
D. Cascading Style SheetsTag
Answer» E.