- CSS Tutorial
- CSS - Home
- CSS - Introduction
- CSS - Syntax
- CSS - Inclusion
- CSS - Measurement Units
- CSS - Colors
- CSS - Backgrounds
- CSS - Fonts
- CSS - Text
- CSS - Images
- CSS - Links
- CSS - Tables
- CSS - Borders
- CSS - Margins
- CSS - Lists
- CSS - Padding
- CSS - Cursors
- CSS - Outlines
- CSS - Dimension
- CSS - Scrollbars
- CSS Advanced
- CSS - Visibility
- CSS - Positioning
- CSS - Layers
- CSS - Pseudo Classes
- CSS - Pseudo Elements
- CSS - @ Rules
- CSS - Text Effects
- CSS - Media Types
- CSS - Paged Media
- CSS - Aural Media
- CSS - Printing
- CSS - Layouts
- CSS - Validations
- CSS3 Tutorial
- CSS3 - Tutorial
- CSS3 - Rounded Corner
- CSS3 - Border Images
- CSS3 - Multi Background
- CSS3 - Color
- CSS3 - Gradients
- CSS3 - Shadow
- CSS3 - Text
- CSS3 - Web font
- CSS3 - 2d transform
- CSS3 - 3d transform
- CSS3 - Animation
- CSS3 - Multi columns
- CSS3 - User Interface
- CSS3 - Box Sizing
- CSS Responsive
- CSS - Responsive Web Design
- 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
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to CSS. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - Which of the following is correct about CSS?
A - Style sheets allow content to be optimized for more than one type of device.
B - CSS can store web applications locally with the help of an offline catche.
Answer : D
Explanation
All of the above options are correct.
Q 2 - Which of the following selector selects all paragraph elements whose lang attribute contains the word "fr"?
Answer : C
Explanation
p[lang~="fr"] − Selects all paragraph elements whose lang attribute contains the word "fr".
Answer : B
Explanation
mm − Defines a measurement in millimeters.
Q 4 - 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 5 - 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 6 - 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 7 - 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 8 - Which of the following property changes the style of top border?
Answer : B
Explanation
The border-top-style changes the style of top border.
Q 9 - 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 10 - 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).