Take CSS Quiz To test your Knowledge
Below are few CSS MCQ test that checks your basic knowledge of CSS Framework. This CSS Test contains around 15 questions of multiple choice type with 4 options. You have to select the right answer to a question.
1. The Default Value Of "position" Attribute Is
- Fixed
- Absolute
- Inherit
- Static
2. What Is CSS Stand For
- Cascading Style Sheets
- Cascade Style Sheet
- Color Style Sheets
- Cascade Sheets Style
3. Pseudo-classes In CSS
- Match A Specified Element
- Select The Active Links
- Are Used To Select All The Visited Links
- Are Used To Define A Special State Of An Element
4. Which Event Will Be Used When A Connection To The Server Is Opened.
- Onmessage
- Onopen
- Onerror
- None Of The Above
5. Which Is The Correct CSS Syntax?
- Body:color=black
- {body;color:black}
- {body:color=black(body}
- Body {color: Black}
6. Which CSS Property Sets The Stack Order Of An Element?
- Z-index
- Position
- Overflow
- Clip
7. Which CSS Property Is Used For Controlling The Layout?
- Header
- Footer
- Display
- None Of The Above
8. Which CSS Property Sets A Background Image For An Element?
- Background - Color
- Background - Image
- Background - Attachment
9. If We Want Define Style For An Unique Element, Then Which Css Selector Will We Use ?
- Id
- Text
- Class
- Name
10. Which Of The Following Properties Will We Use To Display Border Around A Cell Without Any Content ?
- Noncontent-cell
- Blank-cell
- Empty-cell
- Void-cell
11. What Should Be The Table Width, So That The Width Of A Table Adjust To The Current Width Of The Browser Window?
- 640 Pixels
- 100.00%
- Full-screen
- 1024 Px
12. When We Write <img Src="img.png">, What "img.png" Inside Double Quote Implies?
- Value
- Element
- Attribute
- Operator
13. How Can We Write Comment Along With CSS Code ?
- / A Comment /
- // A Comment //
- /* A Comment */
- <' A Comment'>
14. Which CSS Property Is Used To Control The Text Size Of An Element ?
- Font-style
- Font-size
- Text-size
- Text-style
15. Which Of The Following Selector Selects All Elements Of E That Have The Attribute Attr That End With The Given Value?
- E[attr^=value]
- E[attr$=value]
- E[attr*=value]
- None Of The Mentioned
16. Which Of The Following Selector Selects The Elements That Are Checked?
- E ~ F
- ::after
- :checked
- None Of The Mentioned
17. Which Of The Following Selector Selects An Element That Has No Children?
- :empty
- :nochild
- :inheritance
- :no-child
18. Which Of The Following Selector Selects An Element If It's The Only Child Of Its Parent?
- :nth-oftype(n)
- :only-child
- :root
- None Of The Mentioned
No comments:
Post a Comment