Test Series - css

Test Number 31/59

Q: Which of the following strings are defined by in css?
A. single quotes
B. double quotes
C. both single quotes and double quotes
D. none of the mentioned
Solution: In CSS, strings are defined with either single quotes (‘example’) or double quotes (“example”). Quotes may be found within the opposite quote (“I say this is an ‘example’!”).
Q: Which of the following defined as alphanumeric names that correspond to some current counter value in a document?
A. Class
B. Key
C. Counters
D. None of the mentioned
Solution: Counters demonstrate the possibility of variable-like values in CSS. They are defined as alphanumeric names that correspond to some current counter value in a document.
Q: Which of the following is the Color Format that is a CSS’s six-digit hexadecimal format as color defined in (X)HTML?
A. Specification defined named colors
B. System Color Names
C. 6-Hex Color
D. 3-Hex Color
Solution: CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML. The format specifies color as #rrggbb, where rr is the amount of red, gg the amount of green, and bb the amount of blue, all specified in a hexadecimal value ranging from 00 to FF.
Q: Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?
A. HSLa Color
B. HSL Color
C. RGBa Color
D. RGB Color
Solution: An HSLa is specified via a function style hsla(hue,saturation, lightness, alpha), where hue, saturation, and lightness are the same as standard hsl() values, and the alpha channel value for defining opacity is a number between 0 (fully transparent) and 1 (fully opaque).
Q: Which of the following is the Color Format that is a 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. HSLa Color
B. HSL Color
C. RGBa Color
D. RGB Color
Solution: RGB color values can also be defined using percentages. The format is the same, except that the numbers are replaced by
percentage values between 0% and 100%.
Q: Which of the following property allows the text direction to be overridden to support multiple languages and text flow directions in the same document?
A. unicode-bidi
B. visibility
C. top
D. vertical-align
Solution: Syntax:
unicode-bidi: bidi-override | embed | normal| inherit
Q: Which of the following property determines whether or not an element is visible?
A. display
B. visibility
C. transperancy
D. disappear
Solution: This property is not the same as display: none as it simply makes the item invisible; it does not completely remove it from the display canvas.
Q: Which of the following property controls how spaces, tabs, and newline characters are handled in an element?
A. space
B. display
C. widows
D. white-space
Solution: The values of pre-wrap and pre-line are not supported in older browsers.
Q: Which of the following property defines the minimum number of lines in a paragraph to be left at the top of a page?
A. white-space
B. widows
C. display
D. width
Solution: This property is really only meaningful in a paged environment, such as print output.
Q: Which of the following property sets the spacing between words?
A. display
B. white-space
C. sr
D. word-spacing
Solution: Syntax:
word-spacing: length | normal | inherit

You Have Score    /10