CSS MCQ Questions And Answers
This section focuses on "Basic" in Cascading Style Sheets (CSS). These Multiple Choice Questions (MCQ) should be practiced to improve the Cascading Style Sheets (CSS) skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. CSS is the language we use to style an ___________ document.
A. PHP
B. HTML
C. SQL
D. .Net
View Answer
Ans : B
Explanation: CSS is the language we use to style an HTML document.
2. CSS is the acronym for?
A. Color Style Sheets
B. Cascade Sheets Style
C. Cascade Style Sheet
D. Cascading Style Sheets
View Answer
Ans : D
Explanation: CSS stands for Cascading Style Sheets
3. External stylesheets are stored in CSS files
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, External stylesheets are stored in CSS files
4. HTML element h1 is used in CSS for styling then it is also called a?
A. Attribute
B. Value
C. Selector
D. Tag
View Answer
Ans : C
Explanation: HTML element h1 is used in CSS for styling then it is also called a selector
5. To show the start and end of HTML element, ______ is used.
A. Attribute
B. Value
C. Selector
D. Tag
View Answer
Ans : D
Explanation: To show the start and end of HTML element, tag is used.
6. Cascading Style Sheets level 1 (CSS1) came out of W3C as a recommendation in?
A. 35400
B. 35431
C. 35462
D. 35490
View Answer
Ans : A
Explanation: Cascading Style Sheets level 1 (CSS1) came out of W3C as a recommendation in December 1996
7. In CSS, styling elements can be done by ?
A. id
B. class
C. tag
D. All of the above
View Answer
Ans : D
Explanation: In CSS, styling elements can be done by id, class and tag attribute.
8. In CSS, font-size is a property-name which _____________ the font of text.
A. increases
B. decreases
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: In CSS, font-size is a property-name which increases/decreases the font of text.
9. CSS is created and maintained through a group of people within the W3C called the?
A. CSS Class Tag
B. CSS Class Group
C. CSS Working Group
D. CSS Working Id
View Answer
Ans : C
Explanation: CSS is created and maintained through a group of people within the W3C called the CSS Working Group.
10. __________ has introduced text, list, box, margin, border, color, and background properties.
A. css
B. html
C. ajax
D. php
View Answer
Ans : A
Explanation: CSS is a style sheet language which stands for Cascading Style Sheet. CSS has introduced text, list, box, margin, border, color, and background properties.
Discussion