Note: This Question is unanswered, help us to find answer for this one
33. You can use the ___ pseudo-class to set a different color on a link if it was clicked on.
Answer
Correct Answer:
A:visited
Note: This Question is unanswered, help us to find answer for this one
34. Which CSS keyword can you use to override standard source order and specificity rules?
Answer
Correct Answer:
!important
Note: This Question is unanswered, help us to find answer for this one
35. Which W3C status code represents a CSS specification that is fully implemented by modern browsers?
Answer
Correct Answer:
Recommendation
Note: This Question is unanswered, help us to find answer for this one
36. What is an advantage of using inline CSS?
Answer
Correct Answer:
It is easier to add multiple styles through it.
Note: This Question is unanswered, help us to find answer for this one
37. What is the recommended name you should give the folder that holds your project's images?
Answer
Correct Answer:
Images
Note: This Question is unanswered, help us to find answer for this one
38. While HTML controls document structure, CSS controls ___.
Answer
Correct Answer:
Content appearance
Note: This Question is unanswered, help us to find answer for this one
39. In Chrome's Developer Tools view, where are the default styles listed?
Answer
Correct Answer:
Under the User Agent Stylesheet section on the right
Note: This Question is unanswered, help us to find answer for this one
40. You have a large image that needs to fit into a 400 x 200 pixel area. What should you resize the image to if your users are using Retina displays?
Answer
Correct Answer:
800 x 400 pixels
Note: This Question is unanswered, help us to find answer for this one
41. When would you use the @font-face method?
Answer
Correct Answer:
To load custom fonts into stylesheet
Note: This Question is unanswered, help us to find answer for this one
42. Which choice is not valid value for the font-style property?
Answer
Correct Answer:
None
Note: This Question is unanswered, help us to find answer for this one
43. Which statement is true of the single colon (:) or double colon (::) notations for pseudo-elements-for example, ::before and :before?
Answer
Correct Answer:
In CSS3, the double colon notation (::) was introduced to differentiate pseudo-elements from pseudo-classes. However, modern browsers support both formats. Older browsers such as IE8 and below do not.
Note: This Question is unanswered, help us to find answer for this one
44. What is the ::placeholder pseudo-element used for?
Answer
Correct Answer:
It is used to format the appearance of placeholder text within a form control.
Note: This Question is unanswered, help us to find answer for this one
45. Which code would you use to absolutely position an element of the logo class?
Note: This Question is unanswered, help us to find answer for this one
47. The calc() CSS function is often used for calculating relative values. In the example below, what is the specified margin-left value? .example { margin-left: calc(5% + 5px);}
Answer
Correct Answer:
The left margin value is equal to 5% of its parents element's width plus 5px
Note: This Question is unanswered, help us to find answer for this one
48. Which style places an element at a fixed location within its container?
Answer
Correct Answer:
Position: absolute;
Note: This Question is unanswered, help us to find answer for this one
49. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left and right?
Answer
Correct Answer:
Padding: 10px 10px 0px 0px;
Note: This Question is unanswered, help us to find answer for this one
50. What is the difference between the margin and padding properties?
Answer
Correct Answer:
Margin adds space around an element; padding adds space inside of an element.
Note: This Question is unanswered, help us to find answer for this one
51. What is not true about class selectors?
Answer
Correct Answer:
Only one class value can be assigned to an element.
Note: This Question is unanswered, help us to find answer for this one
52. Which selector would select only internal links within the current page?
Answer
Correct Answer:
a[href^="#"]
Note: This Question is unanswered, help us to find answer for this one
53. If the width of the container is 500 pixels, what would the width of the three columns be in this layout? .grid { display: grid; grid-template-columns: 50px 1fr 2fr; }
Answer
Correct Answer:
50px, 150px, 300px
Note: This Question is unanswered, help us to find answer for this one
54. The values for the font-weight property can be keywords or numbers. For each numbered value below, what is the associated keyword? font-weight: 400; font-weight: 700;
Answer
Correct Answer:
Normal; bold
Note: This Question is unanswered, help us to find answer for this one
55. Which statement regarding icon fonts is true?
Answer
Correct Answer:
Icon fonts can be styled with typography-related properties such as font-size and color.
Note: This Question is unanswered, help us to find answer for this one
56. What is the difference between display:none and visibility:hidden?
Answer
Correct Answer:
Display:none hides the element from view and removes it from the normal flow of the document. visibility:hidden will hide the element but maintains the space it previously occupied.
Note: This Question is unanswered, help us to find answer for this one
57. There are many advantages to using icon fonts. What is one of those advantages?
Answer
Correct Answer:
Icon fonts can be styled with typography related properties such as font-size and color.
Note: This Question is unanswered, help us to find answer for this one
58. Which type of declaration will take precedence?
Answer
Correct Answer:
Important declarations in user stylesheets
Note: This Question is unanswered, help us to find answer for this one
59. When using the Flexbox method, what property and value is used to display flex items in a column?
Answer
Correct Answer:
Flex-flow: column; or flex-direction: column
Note: This Question is unanswered, help us to find answer for this one
60. What is the vertical gap between the two elements below?
Div 1
Div 2
Answer
Correct Answer:
2rem
Note: This Question is unanswered, help us to find answer for this one
61. CSS transform properties are used to change the shape and position of the selected objects. The transform-origin property specifies the location of the element's transformation origin. By default, what is the location of the origin?
Answer
Correct Answer:
The top left corner of the element
Note: This Question is unanswered, help us to find answer for this one
62. Which choice would give a block element rounded corners?
Answer
Correct Answer:
Border-radius: 10px;
Note: This Question is unanswered, help us to find answer for this one
63. What is the rem unit based on?
Answer
Correct Answer:
The rem unit is relative to the font-size of the root element of the page.
Note: This Question is unanswered, help us to find answer for this one
64. How would you make the first letter of every paragraph on the page red?
Answer
Correct Answer:
P::first-letter { color: red; }
Note: This Question is unanswered, help us to find answer for this one
65. When using media queries, media types are used to target a device category. Which choice lists current valid media types?
Answer
Correct Answer:
Print, screen, speech
Note: This Question is unanswered, help us to find answer for this one
66. By default, a background image will repeat _
Answer
Correct Answer:
Indefinitely, vertically, and horizontally
Note: This Question is unanswered, help us to find answer for this one
67. When using position: fixed, what will the element always be positioned relative to?
Answer
Correct Answer:
The viewport
Note: This Question is unanswered, help us to find answer for this one
68. To change the color of an SVG using CSS, which property is used?
Answer
Correct Answer:
Use fill to set the color inside the object and stroke to set the color of the border.
Note: This Question is unanswered, help us to find answer for this one
69. In the example below, when will the color pink be applied to the anchor element? a:active { color: pink;}
Answer
Correct Answer:
The color of the link will display as pink while the link is being clicked but before the mouse click is released.
Note: This Question is unanswered, help us to find answer for this one
70. Which of the following is true of the SVG image format? (Alternative: Which statement about the SVG image format is true?)
Answer
Correct Answer:
SVGs can be created as a vector graphic or coded using SVG specific elements such as
Note: This Question is unanswered, help us to find answer for this one
71. What is the difference between the following line-height settings? line-height: 20px; line-height: 2;
Answer
Correct Answer:
The value of 20px will set the line-height to 20px. The value of 2 will set the line-height to twice the size of the corresponding font-size value.
Note: This Question is unanswered, help us to find answer for this one
72. When elements overlap, they are ordered on the z-axis (i.e., which element covers another). The z-index property can be used to specify the z-order of overlapping elements. Which set of statements about the z-index property are true?
Answer
Correct Answer:
Larger z-index values appear on top of elements with a lower z-index value. Negative and positive numbers can be used. z-index can only be used on positioned elements.
Note: This Question is unanswered, help us to find answer for this one
73. There are many properties that can be used to align elements and create page layouts such as float, position, flexbox and grid. Of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page?
Answer
Correct Answer:
Position
Note: This Question is unanswered, help us to find answer for this one
74. Three of these choices are true about class selectors. Which is NOT true?
Answer
Correct Answer:
Classes can be used multiple times per page but not within the same element.
Note: This Question is unanswered, help us to find answer for this one
75. What is the line-height property primarily used for?
Answer
Correct Answer:
To control the height of the space between two lines of content
Note: This Question is unanswered, help us to find answer for this one
76. When adding transparency styles, what is the difference between using the opacity property versus the background property with an rgba() value?
Answer
Correct Answer:
Opacity specifies the level of transparency of an element, including its content. Background with an rgba() value applies transparency to the background color only.
Note: This Question is unanswered, help us to find answer for this one
77. CSS grid and flexbox are now becoming a more popular way to create page layouts. However, floats are still commonly used, especially when working with an older code base, or if you need to support older browser version. What are two valid techniques used to clear floats?
Answer
Correct Answer:
Use the "clearfix hack" on the parent element or use the overflow property with a value other than "visible."
Note: This Question is unanswered, help us to find answer for this one
Note: This Question is unanswered, help us to find answer for this one
79. An embedded style sheet includes the style sheet within the _____ tags of the html document.
Answer
Correct Answer:
and
Note: This Question is unanswered, help us to find answer for this one
80. You can specify font-weight using numerical values from ____.
Answer
Correct Answer:
100 to 900
Note: This Question is unanswered, help us to find answer for this one
81. A function prototype is ____
Answer
Correct Answer:
A declaration, but not a definition
Note: This Question is unanswered, help us to find answer for this one
82. The _____ separates the padding and the margin of a block element.
Answer
Correct Answer:
Border
Note: This Question is unanswered, help us to find answer for this one
83. The number of colors a monitor can display is referred to as ____
Answer
Correct Answer:
Color depth
Note: This Question is unanswered, help us to find answer for this one
84. If you enter only one value for border-radius properly, that radius is applied to ____ corner(s).
Answer
Correct Answer:
Four
Note: This Question is unanswered, help us to find answer for this one
85. Css lets you specify the exact position of an element on a web page using the ____ property.
Answer
Correct Answer:
Position
Note: This Question is unanswered, help us to find answer for this one
86. A valid value for the font-size property is any of the following except ____.
Answer
Correct Answer:
Hexadecimal value
Note: This Question is unanswered, help us to find answer for this one
87. A style ____ is a series of rules that defines the style for a web page or an entire web site.
Answer
Correct Answer:
Style sheet
Note: This Question is unanswered, help us to find answer for this one
88. A layout for a mobile device is typically based on a _____ grid.
Answer
Correct Answer:
1-column
Note: This Question is unanswered, help us to find answer for this one
89. A _____ is a rule that defines the appearance of an element on a webpage.
Answer
Correct Answer:
Styl
Note: This Question is unanswered, help us to find answer for this one
90. A ____ is the fundamental unit in css measurements.
Answer
Correct Answer:
CSS pixel
Note: This Question is unanswered, help us to find answer for this one
91. How will you display text as a superscript?
Answer
Correct Answer:
vertical-align: super
Note: This Question is unanswered, help us to find answer for this one
92. Paged media differ from continuous media in that the content of the document is divided into one or more pages. When you set the dimensions, which of the following will be applied?
Answer
Correct Answer:
The dimensions of the page area are the dimensions of the page box minus the margin area.
Note: This Question is unanswered, help us to find answer for this one
93. Which of the following values are correct for font-style?
Answer
Correct Answer:
normal, italic, oblique
Note: This Question is unanswered, help us to find answer for this one
94. The font-family property is used to specify a:
Answer
Correct Answer:
family name and/or generic family<br>
Note: This Question is unanswered, help us to find answer for this one
95. You want to define the same media style for both print and screen media. Which of the following is the correct structure for the style?
Note: This Question is unanswered, help us to find answer for this one
96. Read the following code:
BODY {
background: white url("bar.gif");
background-repeat: repeat-y;
background-position: center;
}
What will be the output of this code?
Answer
Correct Answer:
Image bar.gif will be tiled vertically in the background in the center of the page.
Note: This Question is unanswered, help us to find answer for this one
97. The font "Times New Roman" has an aspect value of 0.46. What do you understand from this?
Answer
Correct Answer:
When font size is set to 100pt, the height of the letter 'x' will be 46pt
Note: This Question is unanswered, help us to find answer for this one
98. Which of the following is not a correct keyword value for the display property?
Answer
Correct Answer:
expanded
Note: This Question is unanswered, help us to find answer for this one
99. which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
Answer
Correct Answer:
orphans
Note: This Question is unanswered, help us to find answer for this one
100. Read the following statements:
Statement 1:Vertical margins between a floated box and any other box do not collapse. Statement 2:Margins of absolutely and relatively positioned boxes collapse.
Which of the following is correct?
Answer
Correct Answer:
Statement 1 is correct but statement 2 is incorrect
Note: This Question is unanswered, help us to find answer for this one
101.
How is it possible to simplify these styles?
font-family: Georgia;
line-height: 1.4;
font-weight: normal;
font-stretch: normal;
font-variant: small-caps;
font-size: 16px;
Answer
Correct Answer:
font: normal small-caps normal 16px/1.4 Georgia;
Note: This Question is unanswered, help us to find answer for this one
102. Which of the following are valid media features supported in media query? Check all that apply.
Answer
Correct Answer:
color-index aspect-ratio orientation color
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
103. Which of the following is not a property prefix?
Answer
Correct Answer:
-opera-
Note: This Question is unanswered, help us to find answer for this one
104. Which of the following statements are true? (Check all that apply)
Answer
Correct Answer:
Padding is the space between content and the border of element. Margin is the space outside of border.
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
105.
In CSS tables, the possible values for the caption-side property can have the following values.
Answer
Correct Answer:
A. top, bottom, left or right
Note: This Question is unanswered, help us to find answer for this one
106.
What is the correct way to select every 4th paragraph?
Answer
Correct Answer:
p:nth-of-type(4n)
Note: This Question is unanswered, help us to find answer for this one
107.
Which of the following are multi-column properties? (choose all that apply)
Answer
Correct Answer:
column-rule
Note: This Question is unanswered, help us to find answer for this one
Note: This Question is unanswered, help us to find answer for this one
115.
Which of these selectors are right for this paragraph? Hello!
Answer
Correct Answer:
p[class^=“styled”]
Note: This Question is unanswered, help us to find answer for this one
116.
How to set a grid element in CSS3?
Answer
Correct Answer:
display: grid;
Note: This Question is unanswered, help us to find answer for this one
117.
State whether the statement is/are True. i) font-family property is used to change the face of a font. ii) font-variant property is used to create small-caps effects.
Answer
Correct Answer:
C. i-True, ii-True
Note: This Question is unanswered, help us to find answer for this one
118.
Which of these values are not valid for position property?
Answer
Correct Answer:
All of these values are valid
Note: This Question is unanswered, help us to find answer for this one
119.
Which of the following is NOT correct?
Answer
Correct Answer:
The a in RBGa stands for alpha.
Note: This Question is unanswered, help us to find answer for this one
120.
How do you set opacity of background-color to 50%?
Note: This Question is unanswered, help us to find answer for this one
130.
Which of the given css code satisfies the following? Selects all elements that are placed immediately after a element.
Answer
Correct Answer:
div + p
Note: This Question is unanswered, help us to find answer for this one
131.
What does a pseudo-class represents?
Answer
Correct Answer:
Dynamic Events
Note: This Question is unanswered, help us to find answer for this one
132.
Which of the following selector is used to specify a style for a single, unique element?
Answer
Correct Answer:
Id
Note: This Question is unanswered, help us to find answer for this one
133.
What is right way to transform text to uppercase?
Answer
Correct Answer:
text-transform: uppercase;
Note: This Question is unanswered, help us to find answer for this one
134.
Which property can be used to increase or decrease the space between words?
Answer
Correct Answer:
Word-spacing
Note: This Question is unanswered, help us to find answer for this one
135.
Which of the following are correct about Web fonts? Check all that apply.
Answer
Correct Answer:
Both of the above
Note: This Question is unanswered, help us to find answer for this one
136.
Which of the following css property will specify the gap between the columns?
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
137.
How do you make each word in a text start with a capital letter?
Answer
Correct Answer:
text-transform:capitalize
Note: This Question is unanswered, help us to find answer for this one
138.
Which of the following is the correct way to add multiple background images to an element?
Answer
Correct Answer:
Both 2 and 3
Note: This Question is unanswered, help us to find answer for this one
139.
In descendant selector, style is applied to element based on ____ .
Answer
Correct Answer:
whether element have sub element or not.
Note: This Question is unanswered, help us to find answer for this one
140.
Which of the following is NOT a valid 3D transform method?
Answer
Correct Answer:
perspective3d()
Note: This Question is unanswered, help us to find answer for this one
141.
The box model in CSS is made up of :
Answer
Correct Answer:
Margin, border, padding, content
Note: This Question is unanswered, help us to find answer for this one
142.
Which of the following properties can be used to add shadow to elements?
Answer
Correct Answer:
Both 1 and 2
Note: This Question is unanswered, help us to find answer for this one
143.
Which of the following is NOT a valid 2D transformation method?
Answer
Correct Answer:
rotateX()
Note: This Question is unanswered, help us to find answer for this one
144.
Which of the following are true about Flexible Box? Check all that apply.
Answer
Correct Answer:
Flexbox consists of flex containers and flex items. Inside a flex container there is one or more flex items. The align-items property vertically aligns the flexible container's items when the items do not use all available space on the cross-axis.
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
145.
Which of the following code is invalid for Font Size?
Answer
Correct Answer:
p { font-size: 1 ex; }
Note: This Question is unanswered, help us to find answer for this one
146.
Which of the following are valid selectors? Check all that apply.
Answer
Correct Answer:
p:empty p:last-of-type
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
147.
Which of the following statements is correct of Floating Elements?
Answer
Correct Answer:
Floating an element allows you to take that element out of normal flow and position it to the far left or right of a containing box The Floated element becomes a block-level element around which other content can flow
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
148.
What is the right way to skew text horizontal in left direction on 30 degrees?
Answer
Correct Answer:
transform: skewX(30deg);
Note: This Question is unanswered, help us to find answer for this one
149.
Which of these values are not valid for display property?
Answer
Correct Answer:
inline-list-item
Note: This Question is unanswered, help us to find answer for this one
150.
Which of these color definition is wrong?
Answer
Correct Answer:
None of these
Note: This Question is unanswered, help us to find answer for this one
151.
What does the following css code indicate? columns: 2 auto;
Answer
Correct Answer:
Both of the above
Note: This Question is unanswered, help us to find answer for this one
152.
Which of the following is True about responsive design of Media Queries?
Answer
Correct Answer:
@media (min-width: 800px) { body { background: white; } } @media (min-width: 401px) and (max-width: 799px) { body { background: black; } } @media (max-width: 400px) { body { background: blue; } }
Note: This Question is unanswered, help us to find answer for this one
153.
How to select which placed immediately after ?
Answer
Correct Answer:
div > p
Note: This Question is unanswered, help us to find answer for this one
154.
Using the following code you will empty-cells of table?
Answer
Correct Answer:
empty-cells : show | hide
Note: This Question is unanswered, help us to find answer for this one
155.
Which of these selectors has the largest “weight”?
Answer
Correct Answer:
#your div#awesome
Note: This Question is unanswered, help us to find answer for this one
156.
Which of the following is correct about the difference between "rem" and "px" for font sizes?
Answer
Correct Answer:
"rem" depends on the body's font size.
Note: This Question is unanswered, help us to find answer for this one
157.
Which of the following statement is right?
Answer
Correct Answer:
Both of the above
Note: This Question is unanswered, help us to find answer for this one
158.
Pseudo-classes can be used to
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
159.
Which of the following selector matches a particular element only when it lies inside a particular element?
Answer
Correct Answer:
The Descendant Selector
Note: This Question is unanswered, help us to find answer for this one
160.
Which of the following are the newly introduced background properties in CSS3?
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
161.
The ..................... specifies whether a border should be solid, dashed line, doted line, double line, groove etc.
Answer
Correct Answer:
C. border-style
Note: This Question is unanswered, help us to find answer for this one
162.
Which of the following are valid properties for flex-container? Check all that apply.
Answer
Correct Answer:
flex-wrap flex-flow align-items
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
163.
Internet Explorer uses ....................... property to create transparent images.
Answer
Correct Answer:
B. filter: alpha(opacity=x)
Note: This Question is unanswered, help us to find answer for this one
164.
The ...................... property allows to specify how much space appear between the content of an element and it's border.
Answer
Correct Answer:
C. Padding
Note: This Question is unanswered, help us to find answer for this one
165.
A CSS pseudo-class is a keyword added to selectors that specifies a special state of the element to be?
Answer
Correct Answer:
selected
Note: This Question is unanswered, help us to find answer for this one
166.
Screen Resolution refers to the number of dots a screen shows per?
Answer
Correct Answer:
Inch
Note: This Question is unanswered, help us to find answer for this one
167.
The ................... property indicates whether a cell without any content should have a border displayed.
Answer
Correct Answer:
B. empty-cells
Note: This Question is unanswered, help us to find answer for this one
168.
Liquid _____ designs stretch and contract as the user increases or decreases the size of their browser window?
Answer
Correct Answer:
layout
Note: This Question is unanswered, help us to find answer for this one
169.
How can we use Multiple backgrounds using the following code?
Answer
Correct Answer:
background-image: url(bg1.png), url(bg2.png); background-repeat: no-repeat, repeat-y; background-attachment: fixed, fixed; background-position: right bottom, top left;
Note: This Question is unanswered, help us to find answer for this one
170.
Which of these values are not valid for background-repeat property?
Answer
Correct Answer:
repeat-xy
Note: This Question is unanswered, help us to find answer for this one
171.
Pixels are relative to the resolution of the screen, so the same type size will look larger when a screen has a resolution of __ than it would when it is 1280x800?
Answer
Correct Answer:
800x600
Note: This Question is unanswered, help us to find answer for this one
172.
The text-indent property allows you to indent the first ____ of text within an element?
Answer
Correct Answer:
Line
Note: This Question is unanswered, help us to find answer for this one
173.
Which of the following code is correct about Inset Border?
Note: This Question is unanswered, help us to find answer for this one
174.
How can you create rounded corners using CSS3?
Answer
Correct Answer:
border-radius: 30px;
Note: This Question is unanswered, help us to find answer for this one
175.
What is right way to set padding top 25px and padding left 15px?
Answer
Correct Answer:
padding: 25px 0 0 15px;
Note: This Question is unanswered, help us to find answer for this one
176.
Which of these property prefix doesn’t exists?
Answer
Correct Answer:
-opera-
Note: This Question is unanswered, help us to find answer for this one
177.
Which of the following css will divide the text in the div element into 3 columns?
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
178.
Which of the following CSS works for “the gradient to start at the bottom left corner and go to the top right corner”
Answer
Correct Answer:
.gradient { background-image: linear-gradient( to top right, red, #f06d06 ); }
Note: This Question is unanswered, help us to find answer for this one
179.
Which of these statements are true?
Answer
Correct Answer:
A block-level element always starts on a new line and takes up the full width available. An inline element does not start on a new line and only takes up as much width as necessary.
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
180.
The different ways to associate styles with a HTML document is/are
Answer
Correct Answer:
D. All of the above
Note: This Question is unanswered, help us to find answer for this one
181.
Fixed width layout designs do not change size as the user increases or decreases the size of their _____ window?
Answer
Correct Answer:
browser
Note: This Question is unanswered, help us to find answer for this one
182.
Which of the following is NOT a valid pseudo-class?
Answer
Correct Answer:
:text
Note: This Question is unanswered, help us to find answer for this one
183.
Element that Currently has the user’s mouse pointer hovering over it represents one of the following Pseudo Class.
Answer
Correct Answer:
A. :hover
Note: This Question is unanswered, help us to find answer for this one
184.
The following syntax to set margin around a paragraph will make- p{margin:10px 2%}
Answer
Correct Answer:
A. Top and bottom margin will be 10px and left and right margin will be 2% of the total width.
Note: This Question is unanswered, help us to find answer for this one
185.
Following Style is applied to - .wrapper h2#sub { font-size: 18px; margin-top: 0; }
Answer
Correct Answer:
A. Div Element with class wrapper and Type 2 Heading inside it with ID sub.
Note: This Question is unanswered, help us to find answer for this one
186.
State True of False for the CSS table properties. i) The border-spacing specifies the width that should appear between table rows. ii) The empty-cells specifies whether the border should be shown if a cell is empty.
Answer
Correct Answer:
B. i-False, ii-True
Note: This Question is unanswered, help us to find answer for this one
187.
Which of the following is used to represent unvisited hyperlink.
Answer
Correct Answer:
A. :link
Note: This Question is unanswered, help us to find answer for this one
188.
Fonts such as Times New Roman which have spaces in between must be wrapped inside __ .
Answer
Correct Answer:
A. Quotation Mark
Note: This Question is unanswered, help us to find answer for this one
189.
We write single __ before the pseudo-class property.
Answer
Correct Answer:
A. Colon
Note: This Question is unanswered, help us to find answer for this one
190.
How many type faces inside property "font-family" ?
Answer
Correct Answer:
C. No Limit
Note: This Question is unanswered, help us to find answer for this one
191.
The CSS links properties are
Answer
Correct Answer:
A. :link, :visited, :hover, :active
Note: This Question is unanswered, help us to find answer for this one
192.
The ............... rule is used to make sure that the property always be applied whether another property appears in CSS.
Answer
Correct Answer:
C. !important
Note: This Question is unanswered, help us to find answer for this one
193.
Which of the following is/are the valid syntax for CSS pseudo classes.
Answer
Correct Answer:
C. Both A and B
Note: This Question is unanswered, help us to find answer for this one
194.
What does the A stand for in RGBA?
Answer
Correct Answer:
Alpha
Note: This Question is unanswered, help us to find answer for this one
195.
How do you add shadow to elements in CSS3?
Answer
Correct Answer:
box-shadow: 10px 10px 5px grey;
Note: This Question is unanswered, help us to find answer for this one
196.
Which of the following code is incorrect about Gradients Syntax?
Answer
Correct Answer:
None of the above
Note: This Question is unanswered, help us to find answer for this one
197.
A block-level element can be placed into inline elements.
Answer
Correct Answer:
column-rule
Note: This Question is unanswered, help us to find answer for this one
198.
CSS3's border-radius property and border-collapse:collapse do not mix. How can border-radius be used to create a collapsed table with rounded corners?
Answer
Correct Answer:
By using border-collapse: collapse By using border-collapse: collapse By removing border-collapse:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
199.
Why is it not possible to unite webkit-border-radius and -moz-border-radius?
Answer
Correct Answer:
-webkit- and -moz- are vendor-specific prefixes and are not standard CSS3 properties.
Note: This Question is unanswered, help us to find answer for this one
200.
What should be the output of following code? input[type="radio"]:checked + label { background-color:#000; }
Answer
Correct Answer:
Black background color apply on checked label only
Note: This Question is unanswered, help us to find answer for this one
201.
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
202.
Consider the following code snippet: <div id="sectors"> <div id="A" class="A"></div> <div id="B" class="B"></div> <div id="C" class="C"></div> <div id="D" class="D"></div> <div id="E" class="E"></div> </div> With these style rules: <style> #sectors > div { float: left; position: relative; width: 80px; height: 80px; margin: 16px; background-color:red; color: white; text-align: center; } #sectors > div::after { content: attr(id) '-Block'; } #sectors > div.changecolor { background-color: blue; } </style> Which of the following code snippets when inserted into CSS will change the A and B div’s color from red to blue?
Answer
Correct Answer:
In style rule add this code “#sectors > div:not(.C):not(.D):not(.E) {background-color: blue;}”
Note: This Question is unanswered, help us to find answer for this one
203.
Which of the following is not a valid syntax for the <link> element in HTML5?
Correct Answer:
The border of div element will be colored black-red.
Note: This Question is unanswered, help us to find answer for this one
211.
Which statement is correct given the following? box-shadow:30px 20px 10px 5px black;
Answer
Correct Answer:
The position of the vertical black shadow is 30px and the position of the horizontal black shadow is 20px and size of shadow is 10px and blur distance is 5px.
Note: This Question is unanswered, help us to find answer for this one
212.
Which of the following styles is valid?
Answer
Correct Answer:
order: none;
Note: This Question is unanswered, help us to find answer for this one
213.
Which of the following is the best way to center a div element?
Answer
Correct Answer:
Apply 'margin:0 auto' to the element you want to center.
Note: This Question is unanswered, help us to find answer for this one
214.
Which of the following code is appropriate to flip any background image?
Note: This Question is unanswered, help us to find answer for this one
215.
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
216.
Is it possible to use transition animations with a gradient background?
Answer
Correct Answer:
Yes
Note: This Question is unanswered, help us to find answer for this one
217.
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
218.
Which of the following requirements must be met in order to add noise to the background using CSS3?
Answer
Correct Answer:
It not possible to add noise to a background using CSS3.
Note: This Question is unanswered, help us to find answer for this one
219.
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
220.
Is it possible to format numbers with CSS?
Answer
Correct Answer:
No, CSS cannot be used for that purpose.
Note: This Question is unanswered, help us to find answer for this one
221.
The min-width property cannot be applied to the following element:
Answer
Correct Answer:
table row
Note: This Question is unanswered, help us to find answer for this one
222.
What is true about the background-clip property?
Answer
Correct Answer:
All are correct.
Note: This Question is unanswered, help us to find answer for this one
223.
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
224.
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
225.
Using height on transitions is not possible with:
Answer
Correct Answer:
height:100%
Note: This Question is unanswered, help us to find answer for this one
226.
While rendering the following code, what is the role of "src" propery? @font-face { font-family: "calibriforh1"; src: local("calibri"), url(calibri.woff); } h1 { font-family: "calibriforh1", arial, sans-serif; }
Answer
Correct Answer:
It's for searching the user's system for a "calibri" font, and if it does not exist, it will load the font from the server instead.
Note: This Question is unanswered, help us to find answer for this one
227.
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
228.
To make childdiv vertically center of given code, what should the "display" property of parentdiv and childdiv be? #parentdiv { width: 200px; height: 400px; vertical-align: middle; } #childdiv { width: 100px; height: 50px; }
Vertical Center
Answer
Correct Answer:
display:table-cell; for parentdiv and display:inline-block; for childdiv
Note: This Question is unanswered, help us to find answer for this one
229.
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
230.
What is the initial value of the opacity property?
Answer
Correct Answer:
1
Note: This Question is unanswered, help us to find answer for this one
231.
Read the following: @page rotated {size: landscape} TABLE {page: rotated; page-break-before: right} What will this code do?
Answer
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
232.
Suppose that a <tr> tag has 10 <td> tags. In this case which statement is correct given the following?
td:nth-child(3n+0){
background-color: orange;
}
Answer
Correct Answer:
The background color of every third td will be orange.
Note: This Question is unanswered, help us to find answer for this one
233.
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
234.
What is the difference between float:left; vs display:inline-block; ?
Answer
Correct Answer:
There is no difference, both of them have the same results.
Note: This Question is unanswered, help us to find answer for this one
235.
Which one of the following is appropriate to mirror/flip text by using CSS3?
Note: This Question is unanswered, help us to find answer for this one
236.
Is it possible to combine a background image and CSS3 gradients?
Answer
Correct Answer:
It is possible only when "background-image" is used.
Note: This Question is unanswered, help us to find answer for this one
237.
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
238.
Problem to solve: Need to use attribute selector in css to change link on different color and image. The following code is not working correctly: ... <style> a { display: block; height: 25px; padding-left: 25px; color:#333; font: bold 15px Tahoma; text-decoration: none; } a[href='.pdf'] { background: red; } </style> ..... <a href="/manual.pdf">A PDF File</a> Which of the following code snippets will correct issue?
Answer
Correct Answer:
a[href$='.pdf'] { /*css*/ }
Note: This Question is unanswered, help us to find answer for this one
239.
What is the default value of the transform-style property?
Answer
Correct Answer:
flat
Note: This Question is unanswered, help us to find answer for this one
240.
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
241.
Which of the following statements is true with regard to CSS3 transitions?
Answer
Correct Answer:
None of these.
Note: This Question is unanswered, help us to find answer for this one
242.
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
243.
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
244.
There are various types of input fields in a HTML page. Choose the appropriate CSS3 code which will have an effect on all inputs, except checkbox and radio.
Note: This Question is unanswered, help us to find answer for this one
245.
Consider the following problem: When trying to apply a CSS3 style to a label of a checked radio button like this: .... <style> label:checked { font-weight: bold; } </style> .... <input type="radio" id="rad" name="radio"/> <label for="rad">A Label</label> This does not produce the desired effect. Which of the following snippets will correct issue?
Note: This Question is unanswered, help us to find answer for this one
247.
Which of the following styles is not valid for an image?
Answer
Correct Answer:
img { float: left here }
Note: This Question is unanswered, help us to find answer for this one
248.
Consider the following code: body { text-replace: "a" "b" "b" "c" } What will be the output of the following string if the text-replace style is implemented? andy lives behind cafe
Answer
Correct Answer:
andy lives behind cafe
Note: This Question is unanswered, help us to find answer for this one
249.
What is the default value of the animation-direction property?
Answer
Correct Answer:
normal
Note: This Question is unanswered, help us to find answer for this one
250.
Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
Answer
Correct Answer:
orphans
Note: This Question is unanswered, help us to find answer for this one
251.
Which of the following will apply a black inner glow with 25% opacity to a page element?
Note: This Question is unanswered, help us to find answer for this one
252.
Consider the following code: border-opacity:0.7; Given a div element that needs to have a transparent red border, which of the following code samples will work in conjunction with the code above to accomplish the requirement?
Note: This Question is unanswered, help us to find answer for this one
270.
What will the following code produce?
@font-face {
Font-family: “DejaVu Sans”;
src: url(“fonts/DejaVuSans.ttf”);
}
@font-face {
Font-family: “DejaVu Sans”;
Src: url(“fonts/DejaVuSans-Bold.ttf”);
Font-weight: bold;
}
@font-face {
Font-family: “Dejavu Sans”;
Src: url(“fonts/dejaVuSans-Oblique.ttf”);
Font-style: italic, oblique;
}
@font-face {
Font-family: “DejaVu Sans”;
Src: url(“fonts/DejaVuSans-bold0bliqu.ttf”);
Font-weight: bold;
Font-style: italic, oblique;
}
Answer
Correct Answer:
Multiple @font-face rules added.
Note: This Question is unanswered, help us to find answer for this one
271.
Which of the following filters does SVG support?
Answer
Correct Answer:
SVG supports only CSS filters.
Note: This Question is unanswered, help us to find answer for this one
272. What do you need to change in order to visually modify a button on mouseover?
Answer
Correct Answer:
Hover state
Note: This Question is unanswered, help us to find answer for this one
273. What is the correct way to write short hand to this statement below background-color: blue; background-image: url("http://example.com/img.png"); background-repeat: no-repeat;
Answer
Correct Answer:
background: blue url(http://example.com/img.png) no-repeat;
Note: This Question is unanswered, help us to find answer for this one
Note: This Question is unanswered, help us to find answer for this one
275. Which property would you use to change the color of the text?
Answer
Correct Answer:
color
Note: This Question is unanswered, help us to find answer for this one
276. what is the default value of z-index?
Answer
Correct Answer:
0
Note: This Question is unanswered, help us to find answer for this one
277. Which property represents a line that acts as a boundary?
Answer
Correct Answer:
Border
Note: This Question is unanswered, help us to find answer for this one
278. Which of the following is an example of a pseudo class?
Answer
Correct Answer:
p:first-child
Note: This Question is unanswered, help us to find answer for this one
279. Which property can be used to increase or decrease the space between words?
Answer
Correct Answer:
word-spacing
Note: This Question is unanswered, help us to find answer for this one
280. Consider the following font definition: font-weight:normal
What is the other way of getting the same result?
Answer
Correct Answer:
font-weight:100
Note: This Question is unanswered, help us to find answer for this one
281. Which of these tags is correct for a CSS Child Selector?
Answer
Correct Answer:
div > p
Note: This Question is unanswered, help us to find answer for this one
282. You are new in the Company and your boss wants you to order a specific item that he often uses. You have no idea who is the supplier and do not dare asking. What do you do?
Answer
Correct Answer:
You go through the company's past invoices looking for information on that specific item
Note: This Question is unanswered, help us to find answer for this one
283. What does the outline-offset property do??
Answer
Correct Answer:
Both of the other answers are correct.
Note: This Question is unanswered, help us to find answer for this one
284. Which property can help you to create a more layered webpage layout?
Answer
Correct Answer:
z-index
Note: This Question is unanswered, help us to find answer for this one
285. Which can you use to move one element above another?
Answer
Correct Answer:
z-index
Note: This Question is unanswered, help us to find answer for this one
286. What does the greater than sign ( > ) indicate in CSS?
Answer
Correct Answer:
Select the child of the element it follows
Note: This Question is unanswered, help us to find answer for this one
287. Which property is mostly used to remove underlines from links?
Answer
Correct Answer:
text-decoration
Note: This Question is unanswered, help us to find answer for this one
288. Which rule is used to import an external style sheet in a manner similar to the <link> element?
Answer
Correct Answer:
@import
Note: This Question is unanswered, help us to find answer for this one
289. Which defines the color of text ?
Answer
Correct Answer:
color
Note: This Question is unanswered, help us to find answer for this one
290. Which property specifies whether a border should be solid, dashed line, doted line, double line, groove etc.?
Answer
Correct Answer:
border-style
Note: This Question is unanswered, help us to find answer for this one
291. Which of the following position/number-based pseudo class selectors selects the first element within a parent
Answer
Correct Answer:
:first-child
Note: This Question is unanswered, help us to find answer for this one
292. Which attribute defines inline style?
Answer
Correct Answer:
style
Note: This Question is unanswered, help us to find answer for this one
293. how do you make a class?
Answer
Correct Answer:
.
Note: This Question is unanswered, help us to find answer for this one
294. The correct inline CSS to remove underlines from links is <style="text-decoration: none">
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
295. What are CSS frameworks?
Answer
Correct Answer:
It is a pre-planned libraries, which allows easier and more standards-compliant webpage styling, using CSS language.
Note: This Question is unanswered, help us to find answer for this one
296. How to put a background image?
Answer
Correct Answer:
background-image : ;
Note: This Question is unanswered, help us to find answer for this one
297. CSS is a web standard that describes style for?
Answer
Correct Answer:
XML/HTML documents
Note: This Question is unanswered, help us to find answer for this one
298. Which defines the size of text?
Answer
Correct Answer:
font-size :
Note: This Question is unanswered, help us to find answer for this one
299. Hex values are written as three double digit numbers starting with which character?
Answer
Correct Answer:
# sign
Note: This Question is unanswered, help us to find answer for this one
300. For what purpose we use text-indent property?
Answer
Correct Answer:
to specify the indentation of the first line of a text
Note: This Question is unanswered, help us to find answer for this one
301. Which type of doesn't use a selector?
Answer
Correct Answer:
Inline
Note: This Question is unanswered, help us to find answer for this one
302. If i set font-size to 1em, what's the default size in pixels?
Answer
Correct Answer:
16px
Note: This Question is unanswered, help us to find answer for this one
303. div is a block level element?
Answer
Correct Answer:
Yes
Note: This Question is unanswered, help us to find answer for this one
304. 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
305. What is one way to override inline css rules on an html div from within a stylesheet?
Answer
Correct Answer:
div[style]{}
Note: This Question is unanswered, help us to find answer for this one
306. How do you center content horizontally in a page's body element?
Answer
Correct Answer:
body { width: 90%; margin: 0 auto; }
Note: This Question is unanswered, help us to find answer for this one
307. How can you center a block with a certain width?
Answer
Correct Answer:
margin: 0 auto;
Note: This Question is unanswered, help us to find answer for this one
308. What effect does setting position: static; have on an element with no other style rules applied have?
Answer
Correct Answer:
No effect
Note: This Question is unanswered, help us to find answer for this one
309. Which CSS position property would you use for effecting within parent's attributes?
Answer
Correct Answer:
Relative
Note: This Question is unanswered, help us to find answer for this one
310. what is the right syntax of media query?
Answer
Correct Answer:
media="(width: 480px)"
Note: This Question is unanswered, help us to find answer for this one
311. Does a class selector and pseudo class selector have the same specificity weight?
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
312. 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
313. What is the proper syntax inline styling a floated element to the left?
Answer
Correct Answer:
style="float:left;"
Note: This Question is unanswered, help us to find answer for this one
314. How do you make an ID?
Answer
Correct Answer:
#
Note: This Question is unanswered, help us to find answer for this one
315. how to support media queries in IE 8 and older versions?
Answer
Correct Answer:
using respond.js
Note: This Question is unanswered, help us to find answer for this one
316. You want to float an image to the top of the next-page. Which of the following styles will help you to achieve the desired result?
Note: This Question is unanswered, help us to find answer for this one
433. The First step of transition is
Answer
Correct Answer:
transition-property
Note: This Question is unanswered, help us to find answer for this one
434. What does the outline-offset property do?
Answer
Correct Answer:
Both of the other answers are correct.
Note: This Question is unanswered, help us to find answer for this one
435. Which of the following elements will be matched by this CSS selector: div[class|="foo"] ?
Answer
Correct Answer:
All of these elements will be matched.
Note: This Question is unanswered, help us to find answer for this one
436. Which value of the border style property can look as though it were embedded in the canvas?
Answer
Correct Answer:
inset
Note: This Question is unanswered, help us to find answer for this one
437. Which of the following color values is invalid?
Answer
Correct Answer:
They're all valid.
Note: This Question is unanswered, help us to find answer for this one
438. The pseudo selector ":nth-child(2n)" can also be written as:
Answer
Correct Answer:
:nth-child(even)
Note: This Question is unanswered, help us to find answer for this one
439. Which of the following elements will be matched by the CSS selector: div[class*="foo"] ?
Answer
Correct Answer:
All of these elements will be matched.
Note: This Question is unanswered, help us to find answer for this one
440. When determining hexadecimal colors, which value is the highest?
Answer
Correct Answer:
ff
Note: This Question is unanswered, help us to find answer for this one
441. What is the purpose of line-height?
Answer
Correct Answer:
Set the height for each line of text in an html element.
Note: This Question is unanswered, help us to find answer for this one
442. Which element is a block element?
Answer
Correct Answer:
All
Note: This Question is unanswered, help us to find answer for this one
443. What are the correct values for "float" property?
Answer
Correct Answer:
left, right, none
Note: This Question is unanswered, help us to find answer for this one
444. Which values can be used to set text direction?
Answer
Correct Answer:
ltr and rtl
Note: This Question is unanswered, help us to find answer for this one
445. The elements after the floating element will...
Answer
Correct Answer:
flow around it
Note: This Question is unanswered, help us to find answer for this one
446. Fonts such as Times New Roman which have spaces in between must be wrapped inside ______
Answer
Correct Answer:
Quotation Mark
Note: This Question is unanswered, help us to find answer for this one
447. What is the CSS shorthand to set a borders top to 10, bottom to 5, left to 20 and right to 1 pixel?
Answer
Correct Answer:
border: 10px 1px 5px 20px;
Note: This Question is unanswered, help us to find answer for this one
448. What does the following selector do: element[foo]
Answer
Correct Answer:
Matches any element with the foo attribute set.
Note: This Question is unanswered, help us to find answer for this one
449. State whether True or False. i) Any inline style sheet takes highest priority. ii) Any rule defined in <style> ...........................</style> tag will override rules defined in any external style sheet file.
Answer
Correct Answer:
i-True, ii-True
Note: This Question is unanswered, help us to find answer for this one
450. What is the effect of the following css rule? [title]{color:blue;}
Answer
Correct Answer:
All elements with a title attribute will be blue
Note: This Question is unanswered, help us to find answer for this one
451. Which of the following is used to select one paticular tag, rather than a group of tags?
Answer
Correct Answer:
Id selector
Note: This Question is unanswered, help us to find answer for this one
452. Is a # required before colors in CSS?
Answer
Correct Answer:
No, only when specifying colors as hexadecimal values.
Note: This Question is unanswered, help us to find answer for this one
453. Which of the following specifies the type of list-item marker?
Answer
Correct Answer:
list-style-type
Note: This Question is unanswered, help us to find answer for this one
454. What is true about image sprites?
Answer
Correct Answer:
Both of these
Note: This Question is unanswered, help us to find answer for this one
455. What is text-align set to each line when text is stretched so that every line has equal width, and the left and right margins are straight?
Answer
Correct Answer:
justify
Note: This Question is unanswered, help us to find answer for this one
456. ____________ properties provide several options to place the content on the web page.
Answer
Correct Answer:
Positioning
Note: This Question is unanswered, help us to find answer for this one
457. On which position value does the z-index property work?
Answer
Correct Answer:
all of the answers
Note: This Question is unanswered, help us to find answer for this one
458. An ____ style loses many of the advantages of style sheets by mixing content with presentation.
Answer
Correct Answer:
Inline
Note: This Question is unanswered, help us to find answer for this one
459. p.outset {border-style: outset; } In the code snippet above, which part represents the property?
Answer
Correct Answer:
border-style
Note: This Question is unanswered, help us to find answer for this one
460. Which two properties are the defaults when positioning a layer?
Answer
Correct Answer:
top, left
Note: This Question is unanswered, help us to find answer for this one
461. What are the three methods for implementing a stylesheet?
Answer
Correct Answer:
Inline, Embedded, and External
Note: This Question is unanswered, help us to find answer for this one
462. In CSS3, which property is used to make sure a given element has a width of at least a set value?
Answer
Correct Answer:
min-width
Note: This Question is unanswered, help us to find answer for this one
463. You have three blocks of markup that share property values. Which of the following ways is the most efficient?
Note: This Question is unanswered, help us to find answer for this one
479. A definition list has two types of items: the term and the description. Which of the following is NOT a valid definition-related tag set?
Answer
Correct Answer:
<do></do>
Note: This Question is unanswered, help us to find answer for this one
480. What css selector selects every element that is not a <p> element?
Answer
Correct Answer:
:not(p)
Note: This Question is unanswered, help us to find answer for this one
481. Which pseudo class is used in conjunction with an ID when the pound symbol in the current URL matches that ID. For example, if you are at URL www.yoursite.com/#home
Answer
Correct Answer:
#home:target
Note: This Question is unanswered, help us to find answer for this one
482. Which declaration will make each word in an element start with a uppercase letter?
Answer
Correct Answer:
text-transform: capitalize;
Note: This Question is unanswered, help us to find answer for this one
483. Which measurement can't be used to size text in CSS?
Answer
Correct Answer:
huge
Note: This Question is unanswered, help us to find answer for this one
484. Which type of border attribute can be used to have a unique look for each side of the border?
Answer
Correct Answer:
border-(direction)
Note: This Question is unanswered, help us to find answer for this one
485. Which property specifies spacing behavior between text characters?
Answer
Correct Answer:
letter-spacing
Note: This Question is unanswered, help us to find answer for this one
486. If the name of a font family is more than one word, it must be in quotation marks.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
487. Which of the following properties can be used to add space outside an element's box?
Answer
Correct Answer:
margin
Note: This Question is unanswered, help us to find answer for this one
488. If an image is floated to the right, the following text flows around it...
Answer
Correct Answer:
to the left
Note: This Question is unanswered, help us to find answer for this one
489. What is the correct order if you want a div with left margin of 10, right margin of 2, top margin of 5, and bottom margin of 0?
Answer
Correct Answer:
div {margin: 5px 2px 0 10px;}
Note: This Question is unanswered, help us to find answer for this one
490. What is the CSS syntax for changing the default cursor to a pointing finger?
Answer
Correct Answer:
cursor: pointer;
Note: This Question is unanswered, help us to find answer for this one
491. Which of the following will remove the default underline under the link with an id of "content"?
Answer
Correct Answer:
a#content {text-decoration:none;}
Note: This Question is unanswered, help us to find answer for this one
492. Which of the following produces a black border that is 1-pixel thick and dashed?
Answer
Correct Answer:
border: 1px dashed #000
Note: This Question is unanswered, help us to find answer for this one
493. The possible values of white-space are
Answer
Correct Answer:
<p style="white-space:normal"> Use of normal white-space. </p>
Note: This Question is unanswered, help us to find answer for this one
494. Where is the margin property located in the CSS box model?
Answer
Correct Answer:
Outside the box
Note: This Question is unanswered, help us to find answer for this one
495. In this CSS code, what element is the selector? table {color: red;}
Answer
Correct Answer:
table
Note: This Question is unanswered, help us to find answer for this one
496. Given .class { padding: 20px 10px; }, in what order do padding values apply?
Answer
Correct Answer:
top & bottom, left & right
Note: This Question is unanswered, help us to find answer for this one
497. Which properties specifying whether to write the text from left to right or from right to left?
Answer
Correct Answer:
direction
Note: This Question is unanswered, help us to find answer for this one
498. What is the syntax for a customized cursor?
Answer
Correct Answer:
Selector {cursor:value}
Note: This Question is unanswered, help us to find answer for this one
499. Which property is used to set whether table borders are collapsed into a single border or detached as in standard HTML?
Answer
Correct Answer:
border-collapse
Note: This Question is unanswered, help us to find answer for this one
500. When using "position: absolute;" the reference point is the browser window UNLESS one of the parent elements contain one of the following...
Answer
Correct Answer:
position: relative;
Note: This Question is unanswered, help us to find answer for this one
501. When using the background-color property with rgba(255, 0, 255, 0.5) what does the "a" refer to?
Answer
Correct Answer:
Opacity (Alpha channel)
Note: This Question is unanswered, help us to find answer for this one
502. What are the two components of every CSS style definition?
Answer
Correct Answer:
selector, properties
Note: This Question is unanswered, help us to find answer for this one
503. Which of the following selects all unvisited links?
Answer
Correct Answer:
:link
Note: This Question is unanswered, help us to find answer for this one
504. To specify the style for a list, use the _________ property.
Answer
Correct Answer:
list-style
Note: This Question is unanswered, help us to find answer for this one
505. Which of the following is NOT a valid image opacity rule?
Answer
Correct Answer:
opacity: 2.0;
Note: This Question is unanswered, help us to find answer for this one
506. Which style does the following rule apply to? div.wrapper h2 { font-size: 18px; margin-top: 0px; }
Answer
Correct Answer:
h2 heading inside element div of class wrapper
Note: This Question is unanswered, help us to find answer for this one
507. How do you apply multiple classes to an element?
Note: This Question is unanswered, help us to find answer for this one
560. What is the correct shorthand syntax for a border?
Answer
Correct Answer:
border: 1px solid #777;
Note: This Question is unanswered, help us to find answer for this one
561. How do you specify 30% opacity in CSS (ignoring IE)?
Answer
Correct Answer:
opacity: 0.3
Note: This Question is unanswered, help us to find answer for this one
562. Which is the correct syntax of the CSS?
Answer
Correct Answer:
<p style="font-size:14pt"> Welcome to teds-india.</p>
Note: This Question is unanswered, help us to find answer for this one
563. Which attribute creates space between content and its container?
Answer
Correct Answer:
padding
Note: This Question is unanswered, help us to find answer for this one
564. To create a layer all you need to do is assign the _______ attribute to your style
Answer
Correct Answer:
position
Note: This Question is unanswered, help us to find answer for this one
565. Which of the following elements takes up the full width available, and has a line break before and after it?
Answer
Correct Answer:
Block element
Note: This Question is unanswered, help us to find answer for this one
566. An attribute selector allows you to select an element with a specific attribute. To select a <input type="submit"> you would use:
Answer
Correct Answer:
input[type=submit] { }
Note: This Question is unanswered, help us to find answer for this one
567. What selector is used to select all elements?
Answer
Correct Answer:
*
Note: This Question is unanswered, help us to find answer for this one
568. How do you remove browser default margin and padding settings?
Answer
Correct Answer:
Set margin and padding to 0
Note: This Question is unanswered, help us to find answer for this one
569. Which of the following is the correct syntax for using z-index?
Answer
Correct Answer:
img {z-index:-1;}
Note: This Question is unanswered, help us to find answer for this one
570. How much space does an element take up within the document (on modern browsers) if it has "display: none" styling applied?
Answer
Correct Answer:
It will not take up any space.
Note: This Question is unanswered, help us to find answer for this one
571. If a block element might not have enough space to display all of its content, which property might you use to enable scrollbars if they're needed?
Answer
Correct Answer:
overflow: auto
Note: This Question is unanswered, help us to find answer for this one
572. #container {margin: 20px 30px 10px 50px} The margin-right value will be...
Answer
Correct Answer:
30px
Note: This Question is unanswered, help us to find answer for this one
573. Which of the following is the correct syntax for importing one style sheet into another?
Answer
Correct Answer:
@import url("other.css");
Note: This Question is unanswered, help us to find answer for this one
574. How can you create responsive websites through css?
Answer
Correct Answer:
Use an @media query.
Note: This Question is unanswered, help us to find answer for this one
575. Which of these has the highest priority?
Answer
Correct Answer:
inline style
Note: This Question is unanswered, help us to find answer for this one
576. How would you hide an element using the display property?
Answer
Correct Answer:
display: none;
Note: This Question is unanswered, help us to find answer for this one
577. Which statement is correct?
Answer
Correct Answer:
All
Note: This Question is unanswered, help us to find answer for this one
578. The CSS3 property for transparency is...
Answer
Correct Answer:
opacity
Note: This Question is unanswered, help us to find answer for this one
579. Which of the following will set h1 to 16 pixels, bold, and underline?
Note: This Question is unanswered, help us to find answer for this one
592. Hex values are written as 3 double digit numbers, starting with a
Answer
Correct Answer:
# sign
Note: This Question is unanswered, help us to find answer for this one
593. Which statement is true about the following markup? <img src="klematis.jpg" width="150" height="113" alt="klematis" style="opacity:0.4;filter:alpha(opacity=40)" />
Answer
Correct Answer:
This image will be partially transparent.
Note: This Question is unanswered, help us to find answer for this one
594. Which property can be used to decorate links by specifying no underline with the text?
Answer
Correct Answer:
text-decoration: none;
Note: This Question is unanswered, help us to find answer for this one
595. The ________________ specifies whether a border should be solid, dashed line, doted line, double line, groove etc.
Answer
Correct Answer:
border-style
Note: This Question is unanswered, help us to find answer for this one
596. How can you assign a higher specificity to a property value?
Answer
Correct Answer:
body { background: blue !important; }
Note: This Question is unanswered, help us to find answer for this one
597. True or False? With CSS, it's possible to customize the numbers that appear next to list items within <ol> elements.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
598. Which of the following statements is true given the following css and markup? a.red:visited {color:#FF0000;} <a class="red" href="css_syntax.asp">CSS Syntax</a>
Answer
Correct Answer:
If the link in the example has been visited, it will be displayed in red
Note: This Question is unanswered, help us to find answer for this one
599. What is one way to center a fixed-width element (relative to its container)?
Answer
Correct Answer:
margin: 0 auto;
Note: This Question is unanswered, help us to find answer for this one
600. In margin: 10px 20px 40px 30px; what will be the bottom margin?
Answer
Correct Answer:
40px
Note: This Question is unanswered, help us to find answer for this one
601. Which property can be used to specify all the list properties into a single expression?
Answer
Correct Answer:
list-style
Note: This Question is unanswered, help us to find answer for this one
602. How would you define class 'myclass' that sets the width of an element to 640px and the height to 480px ?