CSS MCQ Quiz Hub

Css Mcq Set 2

Choose a topic to test your knowledge and improve your CSS skills

A ___________ is used to define a special state of an element.





✅ Correct Answer: 4

The __________ property specifies the type of positioning method used for an element.





✅ Correct Answer: 3

Which style is this? <body style="background-color: lightcyan">





✅ Correct Answer: 1

Which of the following is the CSS Extension Prefixes for Webkit?





✅ Correct Answer: 1

______ first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.





✅ Correct Answer: 4

There is no single, integrated _______ because it is split into separate modules.





✅ Correct Answer: 4

Unlike CSS 2, which is a large single specification defining various features?





✅ Correct Answer: 3

_______ describes CSS properties to manipulate the position of “ruby”, which are small annotations on top of or next to words, especially common in Chinese and Japanese.





✅ Correct Answer: 2

What will be the output of below mentioned code snippet? h1 {color: "green";}





✅ Correct Answer: 4

With, which tag you write the style rules directly within the document found within the head of the document.





✅ Correct Answer: 3

The _____ directive allows style sheets to be grouped and joined together, though some might wonder what the value of this function is given what linked styles provide.





✅ Correct Answer: 4

Which of the following measurement defines a measurement relative to a font’s x-height?





✅ Correct Answer: 1

Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?





✅ Correct Answer: 1

Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?





✅ Correct Answer: 3

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?





✅ Correct Answer: 1

Which of the following Selector selects an element if it’s the only child of its parent with its type?





✅ Correct Answer: 4

Which of the following property sets in a shorthand form any or all background properties?





✅ Correct Answer: 2

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?





✅ Correct Answer: 1

Which of the following element is used to specify multiple media resources for media elements like audio and video?





✅ Correct Answer: 1

Which of the following property sets the apparent position (in stereo sound) of the synthesized voice for spoken media?





✅ Correct Answer: 1

Which of the following property allows the author to explicitly set the amount of time it should take a speech synthesizer to read an element’s content?





✅ Correct Answer: 3

Which of the following property sets the speaker’s voice used by a speech media agent to read an element?





✅ Correct Answer: 1

______ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.





✅ Correct Answer: 3

Which of the following property sets the size of the font?





✅ Correct Answer: 1

Which of the following Property controls the display of small caps?





✅ Correct Answer: 2

Which of the following font-weight property make the text lighter in relation to its parent?





✅ Correct Answer: 3

Which of the following property converts text to initial capitals, all uppercase, or all lowercase?





✅ Correct Answer: 1

Which of the following font-variant property render text using the same letter case as in the underlying code?





✅ Correct Answer: 3

Which of the following property sets the alignment of the last line of a text block?





✅ Correct Answer: 2

Which of the following property controls how spaces and word wrapping are handled?





✅ Correct Answer: 3

Which of the following property specifies what line decorations, if any, are added to the text?





✅ Correct Answer: 1

Which of the following property applies one or more shadows to text?





✅ Correct Answer: 1

Which of the following property allows long text, such as a URL, to be broken if it would otherwise over?





✅ Correct Answer: 2

Which of the following is used to associate a font name to be used in a style sheet with some downloadable font?





✅ Correct Answer: 1

Which of the following is not value for the font-stretch(Font descriptor)?





✅ Correct Answer: 2

Which of the following font format is supported by all the latest browser?





✅ Correct Answer: 4

Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?





✅ Correct Answer: 4

Which of the following media query describe the ratio of the width to the height of the media?





✅ Correct Answer: 2

Which of the following media query describe describes the height of the screen or full height of the output page?





✅ Correct Answer: 3

Which of the following property sets the style of a font?





✅ Correct Answer: 3

Which of the following property specifies whether an element is an accelerator indicator or not?





✅ Correct Answer: 2

Which of the following property adds padding to the top of an element?





✅ Correct Answer: 4

Which of the following display property value is described by treats the element as inline?





✅ Correct Answer: 4

Which of the following property defines the style for the bottom border of an element?





✅ Correct Answer: 1

Which of the following property defines the style for the left border of an element?





✅ Correct Answer: 2

Which of the following visibility property value is described by The element is not visible, but the layout of surrounding elements is not affected?





✅ Correct Answer: 2

Which of the following display property value is described by used internally by browsers to create list items. Of no practical value to web designers?





✅ Correct Answer: 2

Which of the following property controls the horizontal overflow of a block or inline block?





✅ Correct Answer: 1

Which of the following Overflow property value is described by scrollbars should be provided if the content is too big, but actual implementation is left up to the browser?





✅ Correct Answer: 3

Which of the following property sets a consistent margin on all four sides of the affected element?





✅ Correct Answer: 2