You are on page 1of 2

Styling with CSS3

1. The CSS property can be used to specify the background color of an element.
background-color
2. Inline CSS uses which attribute of the HTML element?
style
3. An external style sheet may be linked to an HTML document through which element?
HTML link
4. tag is placed in?
Document Head
5. What is "hgroup"?
HTML element for group of related headlines
6. To make the width of a table adjust to the current width of the viewer's browser
window, you should specify a table width of
1
7. How do you make each word in a text start with a capital letter?
text-transform:capitalize
8. Brain trick - Of the options mentioned below, which one do you think is not
advantage of using CSS3 ?
Rules, styles, targeting specific text
9. External Style sheets can contain HTML Tags.
false
10. Padding property creates
Space around the content
11. The amount of space between letters can be specified using the __ property in a
style rule.
letter-spacing
12. Applying style to a single specific HTML element can be best achieved through
__ type selector
ID
13. Which feature enables easy identification of corresponding style element?
Selectors
14. Which feature uses :: (double colon)?
Pseudo-Elements
15. The __ attribute can be added to most (X)HTML elements to identify the element
as belonging to a group of elements within an (X)HTML document..
class
16. The __ pseudo-class can be used in a style rule to change the appearance of
links that the visitor has already clicked.
visited
17. Pseudo elements help in providing
special effects to some selectors
18. What is best way to overcome the default settings that comes with CSS?
create reset.css in-addition to your existing css
19. In selectors, which one should not be used across for multiple tags?
id
20. Which of the following is the value of overflow property?
All the options
21. z-index only effects elements that have a position value other than
static
22. The z-index property in CSS controls
Vertical stacking order of elements that overlap
23. An element with position: relative; is positioned relative to
its normal position.
24. HTML elements are positioned ___ by default.
static
25. Stacking context is
three-dimensional conceptualization of HTML elements along an imaginary z-
axis.
26. An element with position: fixed; is positioned relative
to the viewport
27. Opacity has a default initial value of
1
28. Opacity is not inherited. Is this correct ?
True
29. Which of the following is correct about Hex Code format of CSS colors?
All the oprtions
30. Alpha channel in RGBA specifies the
Opticity of the object
31. If only one value is specified to border radius property,
This radius will be applies to all four corners
32. Using negative values in transforms will rotate the element
Counter-clockwise
33. matrix(n,n,n,n,n,n)
Defines a 2D transformation, using a matrix of six values
34. Transformation is an effect that lets an element change
All the oprtions
35. The transform-style property value flat
Specifies that child elements will not preserve its 3D position
36. 3D transform property is animatable. Is this true ?
false
37. CSS3 transforms allow you to _ elements
All the options
38. rotateX(angle)
Defines a 3D rotation along the X-axis
39. If the max-width property is set to 100%
the video player will scale down if it has to, but never scale up to be
larger than its original size
40. The operator is used for combining multiple media features together into a
single media query
and
41. Identify the animation Property
All of the options
42. Identify the Transform property
backface-visibility and transform-origin
43. The not keyword cannot be used to negate an individual feature query, only an
entire media query
True
44. @media includes a block of CSS properties only if a certain condition is true.
Yes
45. A responsive grid-view often has
12 columns, and has a total width of 100%
46. Which of the following selector is not defined in CSS3?
:lang(value)
47. Which of the following selector matches the name of any element type?
The Universal Selector

You might also like