CSS multiple choice questions and answers on CSS MCQ questions quiz on CSS objective questions.

CSS MCQ Questions and Answers Quiz

1. What does CSS stand for?

  1. Cascading Style Sheets
  2. Computer Style Sheets
  3. Creative Style Sheets
  4. Colorful Style Sheets

2. What is the correct HTML for referring to an external style sheet?

  1. <stylesheet>mystyle.css</stylesheet>
  2. <style src="mystyle.css">
  3. <link rel="stylesheet" type="text/css" href="mystyle.css">
  4. none of these

3. Where in an HTML document is the correct place to refer to an external style sheet?

  1. In the <head> section
  2. At the top of the document
  3. In the <body> section
  4. At the end of the document

4. Which HTML tag is used to define an internal style sheet?

  1. <style>
  2. <script>
  3. <css>
  4. none of these

5. Which HTML attribute is used to define inline styles?

  1. styles
  2. style
  3. css
  4. class

6. How do you change the text color of an element?

  1. color:
  2. test-color:
  3. text:color
  4. fgcolor:

7. How do you change the text color of an element?

  1. Selector
  2. Attribute
  3. Tag
  4. Value

8. In css what does "color:blue" can be called as

  1. Selector
  2. Declaration
  3. Rule
  4. Value

9. ---------------------- selectors, which are used to specify a rule to bind to a particular unique element

  1. name
  2. Id
  3. class
  4. tag

10. In css what does “font-size” can be called as

  1. Selector
  2. Rule
  3. Property
  4. Property-Name
Tags

MCQ Multiple Choice Questions and Answers on CSS

CSS Question and Answer