Test Series - css

Test Number 59/59

Q: Which of the following is not a combinatory?
A. *
B. >
C. ~
D. +
Solution: Combinator explains the relationship between the selectors. There are four combinators in CSS, child selector (>), adjacent sibling selector(+), general sibling selector(~), descendent selector (space).
Q: Which of the following selects all elements that are siblings of the specified element?
A. child selector
B. general sibling selector
C. adjacent sibling selector
D. adjacent sibling selector
Solution: General sibling selector selects all elements that are siblings of a specified element, adjacent sibling selector selects all elements that are adjacent siblings of the specified element, child selector selects all elements that are immediate children of the specified element.
Q: Which of the following adds the value of a counter to an element?
A. counter-increment
B. content
C. counter()
D. counter-reset
Solution: counter() or counters() function adds value of counter to an element, content inserts generated content, counter-increment increments a counter value, counter-reset creates or resets a counter.
Q: Which of the following specifies how to slice border image?
A. border-image
B. border-image-source
C. border-image-outset
D. border-image-slice
Solution: border-image-slice specifies how to slice border image, border-image-outset specifies the amount by which border image area extends beyond the border box, border-image is a shorthand property for setting all the border-image properties.
Q: Which web font was developed by Apple and Microsoft in the late 1980s?
A. TTF
B. OTF
C. WOFF
D. WOFF 2.0
Solution: TrueType (TTF) is a font standard developed in the late 1980s by Microsoft and Apple. It is the most common font format for both Microsoft Windows and Mac OS operating systems.
Q: Which of the following is a format for scalable computer fonts?
A. EOT
B. WOFF
C. OTF
D. WOFF 2.0
Solution: OpenType (OTF) is a format scalable for computer fonts, it was built on TrueType, and is a registered trademark of Microsoft. These fonts are used commonly today on major computer platforms.
Q: Which font format is used in web pages?
A. WOFF 2.0
B. WOFF
C. SVG Fonts
D. EOT
Solution: WOFF is font format used in web pages. It was developed in 2009. It is essentially OpenType or TrueType with compression and additional metadata. The goal is to support font distribution from the server to client over the network with bandwidth constraints.
Q: What value lets animation to play forwards first then backward?
A. alternate
B. alternate-reverse
C. reverse
D. normal
Solution: When the value is set to alternate the animation is played forwards first then backward. When a value is set to alternate-reverse, the animation is played backward first, then forwards. At normal value the animation is played as normal, this is the default value.
Q: Which value specifies animation with slow start?
A. ease-out
B. ease-in
C. linear
D. ease
Solution: ease-in specifies an animation with a slow start, ease-out specifies an animation with a slow end, linear specifies animation with same speed from start to end, ease specifies an animation with a slow start, then fast, then end slowly.
Q: How many values are there for animation-full-mode property?
A. 1
B. 2
C. 3
D. 4
Solution: animation-fill-mode property specifies the style for the target element when an animation is not playing. There are four values for this property namely none, forwards, backwards, and both. None is the default value.

You Have Score    /10