CSS Multiple Choice Questions & Answers on Introduction to CSS for Freshers

1. What is css stands for

a) Color Style Sheets
b) Cascade Sheets Style
c) Cascade Style Sheet
d) Cascading Style Sheets
Answer: d

Explanation: CSS stands for Cascading Style Sheets.
2. In css what does h1 can be called as

a) Selector
b) Attribute
c) Value
d) Tag
Answer: a
3. In css what does “color:red” can be called as

a) Selector
b) Rule
c) Declaration
d) None of the above
Answer: c
4. Which of the following attributes is used to specify elements to bind style rules to?

a) id
b) class
c) tag
d) all of the mentioned
Answer: d
5. ________ selectors, which are used to specify a rule to bind to a particular unique element

a) id
b) class
c) tag
d) both (b) and (c)
Answer: a
6. In css what does “font-size” can be called as

a) Selector
b) Rule
c) Property
d) Property-Name
Answer: d
7. _________ selectors, which are used to specify a group of elements

a) id
b) class
c) tag
d) both (b) and (c)
Answer: b
8. Which of the following tag is used to embed css in html page?
a) <script>
b) <style>
c) 
d) 

Answer: b

9. __________ implementation that introduced text, list, box, margin, border, color, and background properties.

a) css
b) html
c) ajax
d) php
Answer: a
10. Is it the best way to include H1 heading only one time in the web page. State true or false.

a) True
b) False
Answer: a

Explanation: It is good pratice to inlcude H1 heading only once and to use H2-H6 heading in others areas.

Related

Multiple Choice Questions 4962775127412756307

Post a Comment

emo-but-icon

item