Quiz 1 :  What is the meaning of CSS?

1. Chicken Salad Sandwich

2. Cascading Style Sheet

3. Central Security Service

4. Cold Shrimp Salad

Quiz 2 :  Which tag will you use to add style on your website?

1. <css></css>

2. <color></color>

3. <style></style>

4. <head></head>

Quiz 3 :  How will you add blue color to all paragraph tags?Hint: write four parts of a style rule

1. p{ blue: color }

2. p{ color = blue }

3. p{ color : blue; }

4. p{ text: “blue”; }

Quiz 4 :   How would you set a purple background color to an element?

1. color:purple;

2. background color:purple;

3. background-color:purple;

4. backgroundColor:purple;

Quiz 5 :  How to set the width of all paragraph tags as half of the available width? Hint: think about the total width as a percent and then think about the half of the width

1. p{ width: 1/2 }

2. p{ width: 50%; }

3. p{ width: 0.5; }

4. p{ width: half; }

Quiz 6 :  Which one is not true?

1. The value of multiple ID attributes has to be unique

2. Use ID to style a specific HTML element

3. Same ID should be used in different HTML tags

Quiz 7 :  How can we add multiple classes to an HTML element?

1. Separate class names by a whitespace

2. Separate class names by a comma

3. You cannot apply more than one class name

4. Use id

Quiz 8 :  How many values a margin style rule cannot have?

1. One

2. Two

3. Seven

4. Four

Quiz Of CSS

0%

Total Quiz : 8

Correct : 0

Wrong : 0