Total 8 Quiz On CSS

You have selected 0 correct answers .

You have selected 0 worng answers .

Question 1 : <p>What is the meaning of CSS?</p>

Cascading Style Sheet

Question 2 : <p>Which tag will you use to add style on your website?</p>

<style></style>

Question 3 : <p>How will you add blue color to all paragraph tags?</p><p>Hint: write four parts of a style rule</p>

p{ color : blue; }

Question 4 : <p><span style="background-color: transparent; color: rgb(0, 0, 0);">How would you set a purple background color to an element?</span></p>

background-color:purple;

Question 5 : <p>How to set the width of all paragraph tags as half of the available width? </p><p>Hint: think about the total width as a percent and then think about the half of the width</p>

p{ width: 50%; }

Question 6 : <p>Which one is not true?</p>

Same ID should be used in different HTML tags

Question 7 : <p>How can we add multiple classes to an HTML element?</p>

Separate class names by a whitespace

Question 8 : <p>How many values a margin style rule cannot have?</p>

Seven