- 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 IV
Q 1 - Which of the following property changes the style of left border?
Answer : C
Explanation
The border-left-style changes the style of left border.
Q 2 - Which of the following property changes the style of right border?
Answer : D
Explanation
The border-right-style changes the style of right border.
Q 3 - Which of the following property changes the width of bottom border?
Answer : A
Explanation
The border-bottom-width changes the width of bottom border.
Q 4 - Which of the following property changes the width of top border?
Answer : B
Explanation
The border-top-width changes the width of top border.
Q 5 - Which of the following property changes the width of left border?
Answer : C
Explanation
The border-left-width changes the width of left border.
Q 6 - Which of the following property changes the width of right border?
Answer : D
Explanation
The border-right-width changes the width of right border.
Q 7 - Which of the following property specifies a shorthand property for setting the margin properties in one declaration?
Answer : A
Explanation
The margin specifies a shorthand property for setting the margin properties in one declaration.
Q 8 - Which of the following property specifies the bottom margin of an element?
Answer : B
Explanation
The margin-bottom specifies the bottom margin of an element.
Q 9 - Which of the following property specifies the top margin of an element?
Answer : C
Explanation
The margin-top specifies the top margin of an element.
Q 10 - Which of the following property specifies the left margin of an element?
Answer : D
Explanation
The margin-left specifies the left margin of an element.
Q 11 - Which of the following property specifies the right margin of an element?
Answer : A
Explanation
The margin-right specifies the right margin of an element.
Q 12 - Which of the following property allows you to control the shape or appearance of the marker of a list?
Answer : A
Explanation
The list-style-type allows you to control the shape or appearance of the marker.
Q 13 - Which of the following property specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker of a list?
Answer : B
Explanation
The list-style-position specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker.
Q 14 - Which of the following property specifies an image for the marker rather than a bullet point or number?
Answer : C
Explanation
The list-style-image specifies an image for the marker rather than a bullet point or number.
Q 15 - Which of the following property serves as shorthand for the marker properties?
Answer : D
Explanation
The list-style serves as shorthand for the marker properties.
Q 16 - Which of the following property specifies the distance between a marker and the text in the list?
Answer : A
Explanation
The marker-offset specifies the distance between a marker and the text in the list.
Q 17 - Which of the following property specifies the bottom padding of an element?
Answer : A
Explanation
The padding-bottom specifies the bottom padding of an element.
Q 18 - Which of the following property specifies the top padding of an element?
Answer : B
Explanation
The padding-top specifies the top padding of an element.
Q 19 - Which of the following property specifies the left padding of an element?
Answer : C
Explanation
The padding-left specifies the left padding of an element.
Q 20 - Which of the following property specifies the right padding of an element?
Answer : D
Explanation
The padding-right specifies the right padding of an element.
Q 21 - Which of the following property serves as shorthand for the padding properties?
Answer : A
Explanation
The padding serves as shorthand for the preceding properties.
Q 22 - Which of the following value of cursor shows it as crosshair or plus sign?
Answer : A
Explanation
crosshair: A crosshair or plus sign.
Q 23 - Which of the following value of cursor shows it as an arrow?
Answer : B
Explanation
default: An arrow
Q 24 - Which of the following value of cursor shows it as a pointing hand?
Answer : C
Explanation
pointer: A pointing hand (in IE 4 this value is hand).
Q 25 - Which of the following value of cursor shows it as the 'I' bar?
Answer : D
Explanation
move: The 'I' bar
Answer Sheet
Question Number | Answer Key |
---|---|
1 | C |
2 | D |
3 | A |
4 | B |
5 | C |
6 | D |
7 | A |
8 | B |
9 | C |
10 | D |
11 | A |
12 | A |
13 | B |
14 | C |
15 | D |
16 | A |
17 | A |
18 | B |
19 | C |
20 | D |
21 | A |
22 | A |
23 | B |
24 | C |
25 | D |