- CSS Tutorial
- CSS - Home
- CSS - Introduction
- CSS - Syntax
- CSS - Selectors
- CSS - Inclusion
- CSS - Measurement Units
- CSS - Colors
- CSS - Backgrounds
- CSS - Fonts
- CSS - Text
- CSS - Images
- CSS - Links
- CSS - Tables
- CSS - Borders
- CSS - Border Block
- CSS - Border Inline
- CSS - Margins
- CSS - Lists
- CSS - Padding
- CSS - Cursor
- CSS - Outlines
- CSS - Dimension
- CSS - Scrollbars
- CSS - Inline Block
- CSS - Dropdowns
- CSS - Visibility
- CSS - Overflow
- CSS - Clearfix
- CSS - Float
- CSS - Arrows
- CSS - Resize
- CSS - Quotes
- CSS - Order
- CSS - Position
- CSS - Hyphens
- CSS - Hover
- CSS - Display
- CSS - Focus
- CSS - Zoom
- CSS - Translate
- CSS - Height
- CSS - Hyphenate Character
- CSS - Width
- CSS - Opacity
- CSS - Z-Index
- CSS - Bottom
- CSS - Navbar
- CSS - Overlay
- CSS - Forms
- CSS - Align
- CSS - Icons
- CSS - Image Gallery
- CSS - Comments
- CSS - Loaders
- CSS - Attr Selectors
- CSS - Combinators
- CSS - Root
- CSS - Box Model
- CSS - Counters
- CSS - Clip
- CSS - Writing Mode
- CSS - Unicode-bidi
- CSS - min-content
- CSS - All
- CSS - Inset
- CSS - Isolation
- CSS - Overscroll
- CSS - Justify Items
- CSS - Justify Self
- CSS - Tab Size
- CSS - Pointer Events
- CSS - Place Content
- CSS - Place Items
- CSS - Place Self
- CSS - Max Block Size
- CSS - Min Block Size
- CSS - Mix Blend Mode
- CSS - Max Inline Size
- CSS - Min Inline Size
- CSS - Offset
- CSS - Accent Color
- CSS - User Select
- CSS Advanced
- CSS - Grid
- CSS - Grid Layout
- CSS - Flexbox
- CSS - Visibility
- CSS - Positioning
- CSS - Layers
- CSS - Pseudo Classes
- CSS - Pseudo Elements
- CSS - @ Rules
- CSS - Text Effects
- CSS - Paged Media
- CSS - Printing
- CSS - Layouts
- CSS - Validations
- CSS - Image Sprites
- CSS - Important
- CSS - Data Types
- CSS3 Tutorial
- CSS3 - Tutorial
- CSS - Rounded Corner
- CSS - Border Images
- CSS - Multi Background
- CSS - Color
- CSS - Gradients
- CSS - Box Shadow
- CSS - Box Decoration Break
- CSS - Caret Color
- CSS - Text Shadow
- CSS - Text
- CSS - 2d transform
- CSS - 3d transform
- CSS - Transition
- CSS - Animation
- CSS - Multi columns
- CSS - Box Sizing
- CSS - Tooltips
- CSS - Buttons
- CSS - Pagination
- CSS - Variables
- CSS - Media Queries
- CSS - Functions
- CSS - Math Functions
- CSS - Masking
- CSS - Shapes
- CSS - Style Images
- CSS - Specificity
- CSS - Custom Properties
- CSS Responsive
- CSS RWD - Introduction
- CSS RWD - Viewport
- CSS RWD - Grid View
- CSS RWD - Media Queries
- CSS RWD - Images
- CSS RWD - Videos
- CSS RWD - Frameworks
- CSS References
- CSS - Questions and Answers
- CSS - Quick Guide
- CSS - References
- CSS - Color References
- CSS - Web browser References
- CSS - Web safe fonts
- CSS - Units
- CSS - Animation
- CSS Resources
- CSS - Useful Resources
- CSS - Discussion
CSS Mock Test
This section presents you various set of Mock Tests related to CSS. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.
CSS Mock Test II
Answer : C
Explanation
vw − 1% of viewport width.
Answer : D
Explanation
vmin − 1vw or 1vh, whichever is smaller.
Q 3 - Which of the following is correct about Hex Code format of CSS colors?
A - The first two digits(RR) represent a red value.
B - The next two are a green value(GG).
Answer : D
Explanation
All of the above options are correct.
Q 4 - Which of the following is correct about Short Hex Code format of CSS colors?
A - This is a shorter form of the six-digit notation.
B - In this format, each digit is replicated to arrive at an equivalent six-digit value.
C - Each hexadecimal code will be preceded by a pound or hash sign '#'.
Answer : D
Explanation
All of the above options are correct.
Q 5 - Which of the following is correct about RGB Values format of CSS colors?
A - This color value is specified using the rgb( ) property.
B - This property takes three values, one each for red, green, and blue.
C - The value can be an integer between 0 and 255 or a percentage.
Answer : D
Explanation
All of the above options are correct.
Q 6 - Which of the following is correct about Browser Safe Colors?
A - These are 216 colors which are supposed to be most safe and computer independent colors.
Answer : D
Explanation
All of the above options are correct.
Q 7 - Which of the following property is used to set the background color of an element?
Answer : A
Explanation
The background-color property is used to set the background color of an element.
Q 8 - Which of the following property is used to set the background image of an element?
Answer : B
Explanation
The background-image property is used to set the background image of an element.
Q 9 - Which of the following property is used to control the repetition of an image in the background?
Answer : C
Explanation
The background-repeat property is used to control the repetition of an image in the background.
Q 10 - Which of the following property is used to control the position of an image in the background?
Answer : D
Explanation
The background-position property is used to control the position of an image in the background.
Q 11 - Which of the following property is used to control the scrolling of an image in the background?
Answer : A
Explanation
The background-attachment property is used to control the scrolling of an image in the background.
Q 12 - Which of the following property is used as a shorthand to specify a number of other background properties?
Answer : B
Explanation
The background property is used as a shorthand to specify a number of other background properties.
Q 13 - Which of the following property is used to change the face of a font?
Answer : A
Explanation
The font-family property is used to change the face of a font.
Q 14 - Which of the following property is used to make a font italic or oblique?
Answer : B
Explanation
The font-style property is used to make a font italic or oblique.
Q 15 - Which of the following property is used to create a small-caps effect?
Answer : C
Explanation
The font-variant property is used to create a small-caps effect.
Q 16 - Which of the following property is used to increase or decrease how bold or light a font appears?
Answer : D
Explanation
The font-weight property is used to increase or decrease how bold or light a font appears.
Q 17 - Which of the following property is used to increase or decrease the size of a font?
Answer : A
Explanation
The font-size property is used to increase or decrease the size of a font.
Q 18 - Which of the following property is used as shorthand to specify a number of other font properties?
Answer : B
Explanation
The font property is used as shorthand to specify a number of other font properties.
Q 19 - Which of the following property is used to set the color of a text?
Answer : A
Explanation
The color property is used to set the color of a text.
Q 20 - Which of the following property is used to set the text direction?
Answer : B
Explanation
The direction property is used to set the text direction.
Q 21 - Which of the following property is used to add or subtract space between the letters that make up a word?
Answer : C
Explanation
The letter-spacing property is used to add or subtract space between the letters that make up a word.
Q 22 - Which of the following property is used to add or subtract space between the words of a sentence?
Answer : D
Explanation
The word-spacing property is used to add or subtract space between the words of a sentence.
Q 23 - Which of the following property is used to add or subtract space between the words of a sentence?
Answer : A
Explanation
The text-indent property is used to indent the text of a paragraph.
Q 24 - Which of the following property is used to align the text of a document?
Answer : B
Explanation
The text-align property is used to align the text of a document.
Q 25 - Which of the following property is used to underline, overline, and strikethrough text?
Answer : C
Explanation
The text-decoration property is used to underline, overline, and strikethrough text.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | C |
2 | D |
3 | D |
4 | D |
5 | D |
6 | D |
7 | A |
8 | B |
9 | C |
10 | D |
11 | A |
12 | B |
13 | A |
14 | B |
15 | C |
16 | D |
17 | A |
18 | B |
19 | A |
20 | B |
21 | C |
22 | D |
23 | A |
24 | B |
25 | C |
To Continue Learning Please Login
Login with Google