- 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 III
Q 1 - Which of the following property is used to capitalize text or convert text to uppercase or lowercase letters?
Answer : D
Explanation
The text-transform property is used to capitalize text or convert text to uppercase or lowercase letters.
Q 2 - Which of the following property is used to control the flow and formatting of text?
Answer : A
Explanation
The white-space property is used to control the flow and formatting of text.
Q 3 - Which of the following property is used to set the text shadow around a text?
Answer : B
Explanation
The text-shadow property is used to set the text shadow around a text.
Q 4 - Which of the following property is used to set the width of an image border?
Answer : A
Explanation
The border property is used to set the width of an image border.
Q 5 - Which of the following property is used to set the height of an image?
Answer : B
Explanation
The height property is used to set the height of an image.
Q 6 - Which of the following property is used to set the width of an image?
Answer : C
Explanation
The width property is used to set the width of an image.
Q 7 - Which of the following property is used to set the opacity of an image?
Answer : D
Explanation
The -moz-opacity property is used to set the opacity of an image.
Q 8 - Which of the following property of a anchor element signifies unvisited hyperlinks?
Answer : A
Explanation
The :link signifies unvisited hyperlinks.
Q 9 - Which of the following property of a anchor element signifies visited hyperlinks?
Answer : B
Explanation
The :visited signifies unvisited hyperlinks.
Q 10 - Which of the following property of a anchor element signifies an element that currently has the user's mouse pointer hovering over it?
Answer : C
Explanation
The :hover signifies an element that currently has the user's mouse pointer hovering over it.
Q 11 - Which of the following property of a anchor element signifies an element on which the user is currently clicking?
Answer : D
Explanation
The :active signifies an element on which the user is currently clicking.
Q 12 - Which of the following property of a table element specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style?
Answer : A
Explanation
The border-collapse specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style.
Q 13 - Which of the following property of a table element specifies the width that should appear between table cells?
Answer : B
Explanation
The border-spacing specifies the width that should appear between table cells.
Q 14 - Which of the following property of a table element controls the placement of the table caption?
Answer : C
Explanation
The caption-side captions are presented in the
Q 15 - Which of the following property of a table element specifies whether the border should be shown if a cell is empty?
Answer : D
Explanation
The empty-cells specifies whether the border should be shown if a cell is empty.
Q 16 - Which of the following property of a table element allows browsers to speed up layout of a table by using the first width properties it comes across for the rest of a column rather than having to load the whole table before rendering it?
Answer : A
Explanation
The table-layout allows browsers to speed up layout of a table by using the first width properties it comes across for the rest of a column rather than having to load the whole table before rendering it.
Q 17 - Which of the following property specifies the color of a border?
Answer : A
Explanation
The border-color specifies the color of a border.
Q 18 - Which of the following property specifies whether a border should be solid, dashed line, double line, or one of the other possible values?
Answer : B
Explanation
The border-style specifies whether a border should be solid, dashed line, double line, or one of the other possible values.
Q 19 - Which of the following property specifies the width of a border?
Answer : C
Explanation
The border-width specifies the width of a border.
Q 20 - Which of the following property changes the color of bottom border?
Answer : D
Explanation
The border-bottom-color changes the color of bottom border.
Q 21 - Which of the following property changes the color of top border?
Answer : A
Explanation
The border-top-color changes the color of top border.
Q 22 - Which of the following property changes the color of left border?
Answer : B
Explanation
The border-left-color changes the color of left border.
Q 23 - Which of the following property changes the color of right border?
Answer : C
Explanation
The border-right-color changes the color of right border.
Q 24 - Which of the following property changes the style of bottom border?
Answer : A
Explanation
The border-bottom-style changes the style of bottom border.
Q 25 - Which of the following property changes the style of top border?
Answer : B
Explanation
The border-top-style changes the style of top border.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | D |
2 | A |
3 | B |
4 | A |
5 | B |
6 | C |
7 | D |
8 | A |
9 | B |
10 | C |
11 | D |
12 | A |
13 | B |
14 | C |
15 | D |
16 | A |
17 | A |
18 | B |
19 | C |
20 | D |
21 | A |
22 | B |
23 | C |
24 | A |
25 | B |
To Continue Learning Please Login
Login with Google