Which of the following Color Format are a 17 defined colors under CSS 2.1?
A. HSLa Color
B. Commonly defined named colors
C. System Color Names
D. Specificationdefined named colors
Select an option to see the answer and solution.
Which of the following Color Format is a CSS colors can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?
A. RGB Color
B. RGBa Color
C. HSL Color
D. HSLa Color
Select an option to see the answer and solution.
Which of the following Color Format is a CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?
A. RGB Color
B. RGBa Color
C. HSL Color
D. HSLa Color
Select an option to see the answer and solution.
Which of the following Selector selects an element if it’s the only child of its parent with its type?
A. @media
B. :target
C. ::selection
D. :only-of-type
Select an option to see the answer and solution.
Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious?
A. :first-letter
B. :last-child
C. :first-line
D. ::first-line
Select an option to see the answer and solution.
What does HSL stands for?
A. Hue Specified Lightness
B. Hue Spot Lightness
C. Hue Saturation Lightness
D. None of the mentioned
Select an option to see the answer and solution.
Which of the following is not an Absolute Unit?
Select an option to see the answer and solution.
Which of the following unit represent the viewport’s width?
Select an option to see the answer and solution.
Which of the following Color Format can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?
A. RGB Color
B. RGBa Color
C. HSL Color
D. HSLa Color
Select an option to see the answer and solution.
Which of the following is not a attribute of the audio element?
A. controls
B. src
C. check
D. loop
Select an option to see the answer and solution.
Which of the following Protocol enables a hyperlink to access a file on the local file system?
A. https
B. ftp
C. file
D. telnet
Select an option to see the answer and solution.
Which of the following attribute specifies the URL of the linked resource?
Select an option to see the answer and solution.
Which of the following color has this value #ff0000?
A. blue
B. green
C. red
D. yellow
Select an option to see the answer and solution.
Which of the following is correct about CSS?
A. CSS is used to control the style of a web document in a simple and easy way.
B. CSS is the acronym for "Cascading Style Sheet".
C. You can write CSS once and then reuse same sheet in multiple HTML pages
D. All of the above
Select an option to see the answer and solution.
Which of the following is a component of CSS style rule?
A. Selector
B. Property
C. Value
D. All of the above
Select an option to see the answer and solution.
Which of the following selector matches all elements of a type?
A. The Type Selector
B. The Universal Selector
C. The Descendant Selector
D. The Class Selector
Select an option to see the answer and solution.
Which of the following selector matches a particular element only when it lies inside a particular element?
A. The Type Selector
B. The Universal Selector
C. The Descendant Selector
D. The Class Selector
Select an option to see the answer and solution.
Which of the following selector selects all paragraph elements with a lang attribute?
A. p[lang]
B. p[lang="fr"]
C. p[lang~="fr"]
D. p[lang|="fr"]
Select an option to see the answer and solution.
Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?
Select an option to see the answer and solution.
Which of the following defines 1% of viewport height?
Select an option to see the answer and solution.