1. Can you add a dropdown menu inside a navigation bar using CSS 3 dropdowns?
Answer
Correct Answer:
Yes
Note: This Question is unanswered, help us to find answer for this one
2. Choose True or False.
The CSS 3 box model permits you to add a border around elements and also to define space between the elements.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
3. Which of the following statements are correct about the CSS pseudo-classes?
Answer
Correct Answer:
They can be used for styling an element when you hover mouse on it.
Note: This Question is unanswered, help us to find answer for this one
4. The CSS box model consists of which of the following options?
1. Margin 2. Padding 3. Content
Answer
Correct Answer:
All 1, 2, and 3
Note: This Question is unanswered, help us to find answer for this one
5. Which of the following options are the correct CSS pseudo classes?
Answer
Correct Answer:
not(selector)
Note: This Question is unanswered, help us to find answer for this one
6. ruby-text (in XHTML: rt)
Which of the following display values assign ruby semantics to an arbitrary element as given above?
Answer
Correct Answer:
It specifies that an element defines a ruby text.
Note: This Question is unanswered, help us to find answer for this one
7. Consider the following font definition:
font-weight:normal
What is the other way of getting the same result?
Answer
Correct Answer:
font-weight:400
Note: This Question is unanswered, help us to find answer for this one
8. What will happen if the following style declaration is used in the given HTML code?
<style type="text/css">
div.container
{
width:38em;
border:1em solid black;
}
div.split
{
box-sizing:border-box;
width:50%;
border:1em silver ridge;
float:left;
}
Correct Answer:
It will put all tables on a right-hand side landscape page.
Note: This Question is unanswered, help us to find answer for this one
10. Which of the following is not a valid property of an aural style sheet?
Answer
Correct Answer:
All of the above are valid.
Note: This Question is unanswered, help us to find answer for this one
11. Which of the following is the initial value for the column-fill property?
Answer
Correct Answer:
balance
Note: This Question is unanswered, help us to find answer for this one
12. Which of the following properties doesn't take up space?
Answer
Correct Answer:
outline
Note: This Question is unanswered, help us to find answer for this one
13. What is the initial value of the hyphens property?
Answer
Correct Answer:
manual
Note: This Question is unanswered, help us to find answer for this one
14. What is the maximum value that can be given to the voice-volume property?
Answer
Correct Answer:
100
Note: This Question is unanswered, help us to find answer for this one
15. 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 }
Answer
Correct Answer:
@import rule is invalid since it occurs inside a @media block.
Note: This Question is unanswered, help us to find answer for this one
16. Which of the following is not a valid page break?
Answer
Correct Answer:
page-break-outside
Note: This Question is unanswered, help us to find answer for this one
17. In CSS3, which of the following declarations can rotate an element counter-clockwise?
Answer
Correct Answer:
transform: rotate(-30deg)
Note: This Question is unanswered, help us to find answer for this one
18. Which of the following does not apply to external styles?
Answer
Correct Answer:
Highest priority
Note: This Question is unanswered, help us to find answer for this one
19. Which of the following value of the white-space property will set the value of white-space-collapse to "preserve" and value of the text-wrap to "none"?
Answer
Correct Answer:
pre
Note: This Question is unanswered, help us to find answer for this one
20. What will happen if the following declaration is used?
Note: This Question is unanswered, help us to find answer for this one
30. Which of the following is not a valid value for the font-smooth property?
Answer
Correct Answer:
normal
Note: This Question is unanswered, help us to find answer for this one
31. If the following rule is used, what will be the output?
:focus,:active { outline-offset: 10px }
Answer
Correct Answer:
The focus outline will appear at a distance of 10 pixels from the active element.
Note: This Question is unanswered, help us to find answer for this one
32. To which of the following elements can the min-width property not be applied?
Answer
Correct Answer:
table row
Note: This Question is unanswered, help us to find answer for this one
33. Which of the following properties allow percentages in their value fields?
Answer
Correct Answer:
font-size
Note: This Question is unanswered, help us to find answer for this one
34. Which of the following styles is not valid for an image?
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
35. State whether following statement is true or false.
The RGB color model is hardware-specific while the HSL is symmetrical to lightness and darkness.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
36. 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?
Answer
Correct Answer:
textbox2, textbox3 ,textbox1
Note: This Question is unanswered, help us to find answer for this one
37. The color in three digit RGB notation is #fb0. What will be its equivalent six digit color code?
Answer
Correct Answer:
#ffbb00
Note: This Question is unanswered, help us to find answer for this one
38. What is the type of the letter-spacing property?
Answer
Correct Answer:
length
Note: This Question is unanswered, help us to find answer for this one
39. You want to set the image resolution to 300dpi irrespective of the resolution of the image. Which of the following codes will be used?
Answer
Correct Answer:
img { image-resolution: 300dpi };
Note: This Question is unanswered, help us to find answer for this one
40. What is the initial value of the animation-iteration-count property?
Answer
Correct Answer:
1
Note: This Question is unanswered, help us to find answer for this one
41. What is the initial value of the font-size property?
Answer
Correct Answer:
medium
Note: This Question is unanswered, help us to find answer for this one
42. Can a percentage value be given in a ruby-align property?
Answer
Correct Answer:
No
Note: This Question is unanswered, help us to find answer for this one
43. Which of the following rules is equivalent to the em { color: rgb(255,0,0) } style?
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
44. Which of the following are not valid values for the target-new property?
Answer
Correct Answer:
parent
Note: This Question is unanswered, help us to find answer for this one
45. Which of the following is not a user interface element fragment selector?
Answer
Correct Answer:
default
Note: This Question is unanswered, help us to find answer for this one
46. backface-visibility:hidden; will this property hide the back side when an element is rotated?
Answer
Correct Answer:
Yes
Note: This Question is unanswered, help us to find answer for this one
47. 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.
Answer
Correct Answer:
John leads his team to the victory, but fails to reach the finals.
Note: This Question is unanswered, help us to find answer for this one
48. What is the range of values (in decimal notation) that can be specified in the RGB color model?
Answer
Correct Answer:
0 to 255
Note: This Question is unanswered, help us to find answer for this one
49. What will happen if the following style declaration is applied to an element?
p { margin: 3em 2em }
Answer
Correct Answer:
The top and the bottom margins will be 3em and the left and the right margins will be 2em.
Note: This Question is unanswered, help us to find answer for this one
50. What is the initial value of the marquee-speed property?
Answer
Correct Answer:
normal
Note: This Question is unanswered, help us to find answer for this one
51. What will happen if the value of the transform-style property is set to flat and the element has children?
Answer
Correct Answer:
Both the element and its children elements will be rendered in 2D effect.
Note: This Question is unanswered, help us to find answer for this one
52. 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:
<p>John was a great writer<a class="footnote" href="#words"> [More]</a>.
...
<p id=words><span class="marker">[More]</span> Great poet too.
Answer
Correct Answer:
The page will shift focus to the line Great poet too.
Note: This Question is unanswered, help us to find answer for this one
53. What will happen if the cursor property value is set to none?
Answer
Correct Answer:
No cursor will be displayed.
Note: This Question is unanswered, help us to find answer for this one
54. For the clear property, which of the following value is not valid?
Answer
Correct Answer:
top
Note: This Question is unanswered, help us to find answer for this one
55. Which of the given options is/are equivalent to the following rule?
DIV { line-height: 1.2; font-size: 10pt }
Answer
Correct Answer:
DIV { line-height: 1.2em; font-size: 10pt }
Note: This Question is unanswered, help us to find answer for this one
56. What will happen if the pause property is used as follows?
h2 { pause: 40s 60s }
Answer
Correct Answer:
pause-before will be set to 40 seconds and pause-after will be set to 60 seconds.
Note: This Question is unanswered, help us to find answer for this one
57. State whether the following statement is true or false.
If a parent element display property is set to none, its children too will not be rendered.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
58. 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
Answer
Correct Answer:
cndy lives cehind ccfe
Note: This Question is unanswered, help us to find answer for this one
59. If you set the value of the speak property to digits, how would 22 be spoken?
Answer
Correct Answer:
two two
Note: This Question is unanswered, help us to find answer for this one
60. What will be the output of the following rule?
em { color: rgba(0,0,255,1) }
Answer
Correct Answer:
Opacity 1 with solid blue color
Note: This Question is unanswered, help us to find answer for this one
61. Which of the following styles is valid?
Answer
Correct Answer:
border: none;
Note: This Question is unanswered, help us to find answer for this one
62. Which is new css3 property?
Answer
Correct Answer:
background-size
Note: This Question is unanswered, help us to find answer for this one
63. Does z-index: -1 place the element behind its parent?
Answer
Correct Answer:
Only if the parent does not establish a local stacking context
Note: This Question is unanswered, help us to find answer for this one
64. What CSS value scales the background image to the largest size contained within the element?
Answer
Correct Answer:
contain
Note: This Question is unanswered, help us to find answer for this one
65. CMYK color model can be used with CSS in modern browsers?
Answer
Correct Answer:
False
Note: This Question is unanswered, help us to find answer for this one
66. What does the font-size-adjust property do?
Answer
Correct Answer:
It specifies an aspect value for an element that will effectively preserve the x-height of the first choice font
Note: This Question is unanswered, help us to find answer for this one
67. When using background-clip, values can be added to:
Answer
Correct Answer:
padding-box
Note: This Question is unanswered, help us to find answer for this one
68. How would you repeat a gradient in CSS3?
Answer
Correct Answer:
background: repeating-linear-gradient(red, blue 10%, green 20%);
Note: This Question is unanswered, help us to find answer for this one
69. Can you use CSS3 with older version of HTML?
Answer
Correct Answer:
No
Note: This Question is unanswered, help us to find answer for this one
70. To make text appear on a page just by hovering over any portion of a page use:
Answer
Correct Answer:
title
Note: This Question is unanswered, help us to find answer for this one
71. Which of the following is not a new background property in CSS3?
Answer
Correct Answer:
background-shadow
Note: This Question is unanswered, help us to find answer for this one
72. To use a fading link transition use:
Answer
Correct Answer:
Ease-in
Note: This Question is unanswered, help us to find answer for this one
73. Which of the following is NOT a new CSS3 pseudo selector?
Answer
Correct Answer:
:includes
Note: This Question is unanswered, help us to find answer for this one
74. Which of the following represents correct CSS shorthand for setting font family, font size, line-height and font weight for an element?
Answer
Correct Answer:
font: bold 18px/1.2 verdana;
Note: This Question is unanswered, help us to find answer for this one
75. What is the earliest Internet Explorer and Chrome that supports multiple columns?
Answer
Correct Answer:
10.0, 4.0
Note: This Question is unanswered, help us to find answer for this one
76. What are two of the four sizes with radial gradients?
Answer
Correct Answer:
closest-side, farthest-corner
Note: This Question is unanswered, help us to find answer for this one
77. How can we call different bullets without using classes to the particular <li>?
Note: This Question is unanswered, help us to find answer for this one
78. To set the clipping region of an element use:
Answer
Correct Answer:
Clip
Note: This Question is unanswered, help us to find answer for this one
79. In CSS, > is called a:
Answer
Correct Answer:
combinator
Note: This Question is unanswered, help us to find answer for this one
80. Which of these properties does not exist?
Answer
Correct Answer:
transparency
Note: This Question is unanswered, help us to find answer for this one
81. The concept of designing a site which retains its meaning and functionality, even when certain (usually older) browsers cause display faults, is called...
Answer
Correct Answer:
Graceful Degradation
Note: This Question is unanswered, help us to find answer for this one
82. To make an element move fast or slow what property must you change?
Answer
Correct Answer:
Duration or Transition
Note: This Question is unanswered, help us to find answer for this one
83. Which of these is NOT a valid css3 pseudo class?
Answer
Correct Answer:
:blank
Note: This Question is unanswered, help us to find answer for this one
84. True or False: CSS3 selectors are different from CSS1 and CSS2 selectors.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
85. How wide is the following div? div { box-sizing:border-box; width: 200px; padding: 20px; border:1px solid #000; }
Answer
Correct Answer:
242px
Note: This Question is unanswered, help us to find answer for this one
86. Which of the following is not a correct keyword value for the font-stretch property?
Answer
Correct Answer:
macro-expanded
Note: This Question is unanswered, help us to find answer for this one
87. How would you use CSS3's new selectors to match the last 2 elements of a particular type?
Answer
Correct Answer:
:nth-last-child(-n+2)
Note: This Question is unanswered, help us to find answer for this one
88. Is this code written correctly?: span[hello="Cleveland"],[goodbye="Columbus"] { color: blue; }
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
89. What is the correct syntax of wrapping of the word in CSS3?
Answer
Correct Answer:
word-wrap: break-word;
Note: This Question is unanswered, help us to find answer for this one
90. What would the standard syntax to use a gradient in CSS3?
Note: This Question is unanswered, help us to find answer for this one
108. What would the following CSS do? text-transform: capitalize;
Answer
Correct Answer:
Capitalize the first letter of every word
Note: This Question is unanswered, help us to find answer for this one
109. The two primary stylesheet languages are CSS and:
Answer
Correct Answer:
XSL
Note: This Question is unanswered, help us to find answer for this one
110. Consider the following code: <div style="height: 40px; width: 40px;background:black;margin: 20px 30px 50px;"></div> what would be the margin of the 'div'?
Answer
Correct Answer:
top margin 20px, left and right margin 30px, bottom margin 50px
Note: This Question is unanswered, help us to find answer for this one
111. The background-origin property specifies the positioning area of background images, which can be placed...
Answer
Correct Answer:
...within the content-box, padding-box, or border-box area.
Note: This Question is unanswered, help us to find answer for this one
112. The correct way to select <li> elements which are "even" in terms of their placement (ie. 2nd, 4th, 6th, etc) would be?
Answer
Correct Answer:
li:nth-child(even)
Note: This Question is unanswered, help us to find answer for this one
113. Given the following HTML snippet: <h1 class="title header">Hello</h1> And the following CSS: h1 { color: blue; } .title.header { color: red; } .title { color: green; } What color will the text "Hello" have?
Answer
Correct Answer:
Red
Note: This Question is unanswered, help us to find answer for this one
114. What is the method to stretch an image as a border in CSS3?
Answer
Correct Answer:
#stretch
Note: This Question is unanswered, help us to find answer for this one
115. What would 'a:focus:hover' be an example of?
Answer
Correct Answer:
Dynamic pseudo-class
Note: This Question is unanswered, help us to find answer for this one
116. The CSS3 specification will allow for the use of generated gradients as background images.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
117. In order to animate you must use the _____ property.
Answer
Correct Answer:
Transition
Note: This Question is unanswered, help us to find answer for this one
118. What does the :empty pseudo class target?
Answer
Correct Answer:
Elements that have no children.
Note: This Question is unanswered, help us to find answer for this one
119. Which CSS property would you use to make text italicized?
Answer
Correct Answer:
font-style
Note: This Question is unanswered, help us to find answer for this one
120. What does the translate() method do?
Answer
Correct Answer:
moves the element from its current position, depending on the parameters given for the left (X-axis) and the top (Y-axis) position
Note: This Question is unanswered, help us to find answer for this one
121. If the same property is styled at the beginning and at the end of a stylesheet...
Answer
Correct Answer:
only the latter will apply
Note: This Question is unanswered, help us to find answer for this one
122. Which of the following is NOT a proper CSS browser prefix?
Answer
Correct Answer:
-ie-border-radius: { }
Note: This Question is unanswered, help us to find answer for this one
123. True or False: With the implementation of CSS3, CSS1 and CSS2 are no longer needed.
Answer
Correct Answer:
False
Note: This Question is unanswered, help us to find answer for this one
124. Pseudo-classes are used to represent ___________________.
Answer
Correct Answer:
Dynamic Events
Note: This Question is unanswered, help us to find answer for this one
125. How would you add three columns to a page using CSS3