1. What CSS3 attribute is not correct
2. Pseudo-classes are used to represent ___________________.
3. Output of the following rule? em { color: rgba(0,0,255,1) }
4. If you set the value of the speak property to digits, how would 22 be spoken?
5. Consider the following code: body { text-replace: 'a' 'b' 'b' 'c' } What will be the output of the following string if you implement the text-replace style? andy lives behind cafe
6. What will happen if the pause property is used as follows? h2 { pause: 40s 60s }
7. Which of the given options is/are equivalent to the following rule? DIV { line-height: 1.2; font-size: 10pt }
8. Consider the following code and say what will happen if you click on More? @media print { .footnote { float: footnote; content: target-move(attr(href, url)) } .marker { display: none } } HTML code: John was a great writer [More]. ...
[More] Great poet too.
9. What will happen if the value of the transform-style property is set to flat and the element has children?
10. If you are using the white-space-collapse property with value collapse, what will be the output of the following string? John leads his team to the victory, but fails to reach the finals.
11. backface-visibility:hidden; will this property hide the back side when an element is rotated?
12. Which is not a user interface element fragment selector?
13. Which is not valid values for the target-new property?
14. Which rule is equivalent to the em { color: rgb(255,0,0) } style?
15. If the nav-index property of textbox1 is set to 10, that of textbox2 to 5 and that of textbox3 to 8, what will be the navigation order?
16. Which property allow percentages in their value fields?
17. To which element can the min-width property not be applied?
18. If the following rule is used, what will be the output? :focus,:active { outline-offset: 10px }
19. Which is not a valid value for the font-smooth property?
20. Which rule would result in an object being rendered as above?
21. A/An___________ is defined with 'grid-columns', 'grid-rows' properties.
22. What is the default value of the text-align property for Left to Right Languages?
23. Which is not a valid value for the font-stretch property?
24. What will happen if the following declaration is used? body { background-image: url('test.png'); background-attachment: fixed; background-position: 100% 100%; background-repeat: no-repeat; }
25. Which does not apply to external style?
26. In CSS3, which declaration can rotate an element counter-clockwise?
27. What is the problem in the following style sheet? @import 'style.css'; @media print { @import 'print-main.css'; BODY { font-size: 10pt } } h1 {color: red }
28. What is the initial value of the hyphens property?
29. Read the following: @page rotated {size: landscape} TABLE {page: rotated; page-break-before: right} What will this code do?
30. What will happen if the following style declaration is used in the given HTML code? div.container { width:38em; border:1em solid black; } div.split { box-sizing:border-box; width:50%; border:1em silver ridge; float:left; } HTML code:
31. ruby-text (in XHTML: rt) Which display values assign ruby semantics to an arbitrary element as given above?
32. Which option is the correct CSS pseudo classes?
33. Which statement is correct about the CSS pseudo-classes?
CSS 3 MCQs | Topic-wise