css-exam

0 votes, 0 avg
559

CSS Questions

1 / 15

1. Which one of these is NOT an appropriate value for the font-variant property?

2 / 15

2. Which of the following CSS Property sets the stacking order of positioned elements?

3 / 15

3. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page?

4 / 15

4. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?

5 / 15

5.  Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

6 / 15

6. Which of the following selector selects an element if it’s the only child of its parent?

7 / 15

7. When we write < img src="img.png" > , what "img.png" inside double quote implies?

8 / 15

8. Which of the following is the correct syntax to display the hyperlinks without any underline?

9 / 15

9. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________

10 / 15

10. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

11 / 15

11. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.

12 / 15

12. Which of the following CSS property specifies the look and design of an outline?

13 / 15

13. Choose the option that correctly specifies the output of the following CSS. span {
border: 1px solid red;
outline: green dotted thick;
}

14 / 15

14. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value?

15 / 15

15. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?

Your score is

The average score is 49%

0%

Scroll to Top