๐Ÿงช CSS MCQ Quiz Hub

CSS MCQ Questions

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

Which of the following value is supposed to be a slightly bolder weight that standard bold in font attribute?





โœ… Correct Answer: 4

Which of the following property allows contextual adjustment of inter-glyph spacing i.e. the spaces between the characters in text?





โœ… Correct Answer: 3

Which of the following is not a value for font-style property?





โœ… Correct Answer: 4

Which of the following value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces?





โœ… Correct Answer: 2

Which of the following selects a normal or small-caps face from a font family?





โœ… Correct Answer: 4

Which of the following is not a appropriate value for font-variant property?





โœ… Correct Answer: 3

Which of the following property adjusts the font-size of the fallback fonts defined with font-family so that the x-height is the same no matter what font is used?





โœ… Correct Answer: 4

Which of the following Allows you to expand or condense the widths for a normal condensed or expanded font face?





โœ… Correct Answer: 4

Which of the following font-size-adjust is value used in calculating the size of the fallback fonts?





โœ… Correct Answer: 2

Which CSS property is equivalent for the attribute <center>?





โœ… Correct Answer: 3

Which CSS property is Equivalent for the align attribute?





โœ… Correct Answer: 1

Which is the latest version of CSS available?





โœ… Correct Answer: 2

Which CSS property is equivalent for the attribute <font>?





โœ… Correct Answer: 2

Which of the following CSS property is used to give a line over the text?





โœ… Correct Answer: 2

The first CSS specification to become an official W3C Recommendation is ___________





โœ… Correct Answer: 4

_________ 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.CSS1 specification





โœ… 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

___________ has a grammar but unlike traditional (X)HTML it is not defined with a document type definition.





โœ… Correct Answer: 3

What will be the output of following code snippet?





โœ… Correct Answer: 4

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





โœ… Correct Answer: 4

Which of the following is the correct way to applying style to a document?





โœ… Correct Answer: 4

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





โœ… Correct Answer: 3

What does screen media type is used for?





โœ… Correct Answer: 3

Which of the following tag is used to linked information should be placed inside?





โœ… Correct Answer: 4

Which of the following tag can be used to embed a Document-wide styles in a documents head element?





โœ… 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 fonts x-height?





โœ… Correct Answer: 1

Which of the following measurement defines measurement as a percentage?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

Which of the following property sets a variation of the specified or default font family?height





โœ… Correct Answer: 4

Which of the following property defines labels for a list of items?





โœ… Correct Answer: 1

Which of the following property assigns a graphic image to a list item?





โœ… Correct Answer: 2

Which of the following property sets the amount of spacing between letters?





โœ… Correct Answer: 3

Which of the following CSS3 Color Feature can be used as a macro for whatever the current color is?





โœ… Correct Answer: 1

Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?





โœ… Correct Answer: 2

Which of the following Color Format is a CSSs 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 systems color use?





โœ… Correct Answer: 3

Which of the following Color Format are a 17 defined colors under CSS 2.1?





โœ… Correct Answer: 4

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 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?





โœ… Correct Answer: 4

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





โœ… Correct Answer: 4

Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious?





โœ… Correct Answer: 4

What does HSL stands for?





โœ… Correct Answer: 3

Which of the following is not an Absolute Unit?





โœ… Correct Answer: 2

Which of the following unit represent the viewports width?





โœ… Correct Answer: 3

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?RGB Color





โœ… Correct Answer: 1

Which of the following is not a attribute of the audio element?





โœ… Correct Answer: 3

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 Protocol enables a hyperlink to access a file on the local file system?





โœ… Correct Answer: 3

Which of the following element is used for linking a External Files to the html page?





โœ… Correct Answer: 3

Which of the following attribute specifies the URL of the linked resource?





โœ… Correct Answer: 4

10. Which of the following color has this value #ff0000?





โœ… Correct Answer: 3

Which of the following CSS property defines the different properties of all four sides of an elements border in a single declaration?





โœ… Correct Answer: 4

Identify the CSS property defining bottom-left corner shape of the border?





โœ… Correct Answer: 3

border-width





โœ… Correct Answer: 4

Which of the following CSS property border-color property sets the color of an elements four borders?





โœ… Correct Answer: 3

Choose the CSS property that can be used for collapsing the borders between table cells?





โœ… Correct Answer: 3

Which CSS property can be used to set the image as border instead of the border style?





โœ… Correct Answer: 4

In how many way border-image-width CSS property can be defined?





โœ… Correct Answer: 4

Which of the following is not an appropriate value for border-collapse?





โœ… Correct Answer: 1

Which of the following specifies the distance between the borders of adjacent cells?





โœ… Correct Answer: 3

Which of the following property defines the border-width border-style and border-color of an elements top border in a single declaration?





โœ… Correct Answer: 2

Which of the following CSS property is used to set the text formatting?





โœ… Correct Answer: 3

Which of the following sets the color of any text decoration such as underlines overlines and strike throughs?





โœ… Correct Answer: 1

Which of the following sets what kind of line decorations are added to an element such as underlines overlines etc?





โœ… Correct Answer: 4

Which of the following text-decoration value specifies each line of text has a line above it?





โœ… Correct Answer: 3

Which of the following





โœ… Correct Answer: 3