By OnlineInterviewQuestions.com CSS MCQ Quiz & Test 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. You can see the correct answer by clicking view answer link. Also, Read Best CSS interview questions.
Q1. What Is CSS Stand For A. Cascading Style Sheets B. Cascade Style Sheet C. Color Style Sheets D. Cascade Sheets Style
Q2. Pseudo-classes In CSS A. Match A Specified Element B. Select The Active Links C. Are Used To Select All The Visited Links D. Are Used To Define A Special State Of An Element
Q3. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. None Of The Above
Q4. Which Is The Correct CSS Syntax? A. Body:color=black B. {body;color:black}
C. {body:color=black(body} D. Body {color: Black}
Q5. Which CSS Property Sets The Stack Order Of An Element? A. Z-index B. Position C. Overflow D. Clip
Q6. Which CSS Property Is Used For Controlling The Layout? A. Header B. Footer C. Display D. None Of The Above
Q7. Which CSS Property Sets A Background Image For An Element? A. Background - Color B. Background - Image C. Background - Attachment D. None of These
Q8. If We Want Define Style For An Unique Element, Then Which Css Selector Will We Use ? A. Id B. Text C. Class D. Name
Q9. Which Of The Following Properties Will We Use To Display Border Around A Cell Without Any Content ?
A. Noncontent-cell B. Blank-cell C. Empty-cell D. Void-cell
Q10. What Should Be The Table Width, So That The Width Of A Table Adjust To The Current Width Of The Browser Window? A. 640 Pixels B. 100.00% C. Full-screen D. 1024 Px
Q11. When We Write <img Src="img.png">, What "img.png" Inside Double Quote Implies? A. Value B. Element C. Attribute D. Operator
Q12. How Can We Write Comment Along With CSS Code ? A. / A Comment / B. // A Comment // C. /* A Comment */ D.
Q13. Which CSS Property Is Used To Control The Text Size Of An Element ? A. Font-style B. Font-size C. Text-size D. Text-style
Q14. The Default Value Of "position" Attribute Is
A. Fixed B. Absolute C. Inherit D. Static
Q15. Which Of The Following Selector Selects All Elements Of E That Have The Attribute Attr That End With The Given Value? A. E[attr^=value] B. E[attr$=value] C. E[attr*=value] D. None Of The Mentioned
Q16. Which Of The Following Selector Selects The Elements That Are Checked? A. E ~ F B. ::after C. :checked D. None Of The Mentioned
Q17. Which Of The Following Selector Selects An Element That Has No Children? A. :nochild B. :empty C. :inheritance D. :no-child
Q18. Which Of The Following Selector Selects An Element If It's The Only Child Of Its Parent? A. :nth-oftype(n) B. :only-child C. :root D. None Of The Mentioned
Q19. Which of the following option a rule consists of?
A. Selector B. Tag C. Declaration D. Option 1 & 3
Q20. If a particular rule should never be overridden by another rule, the ____________ indication should be used. A. !important! B. @important C. !important D. important! Please Visit OnlineInterviewquestions.com to download more pdfs