CSS/CSS MCQ Questions Sample Test,Sample questions

Question:
 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.

1.<head>

2.<style>

3.<script>

4.@import


Question:
 What does screen media type is used for?

1.For use with all devices

2.For use with handheld devices

3.For use with computer screens

4.For use with television-type devices


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

1.HSLa Color

2.Commonly defined named colors

3.System Color Names

4.Specificationdefined named colors


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

1.RGB

2.RGBa

3.RGBaplha

4.AlphaRGB


Question:
 Which of the following measurement defines a measurement relative to a fonts x-height?

1.ex

2.em

3.pt

4.px


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

1.<head>

2.<style>

3.<script>

4.<html>


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

1.<head>

2.<div>

3.<body>

4.<html>


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

1.empasize

2.light

3.lighter

4.dark


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

1.blue

2.green

3.red

4.yellow


Question:
border-width

1.border-radius

2.border-bottom

3.border-width-down

4.border-bottom-width


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

1.border

2.collapse-border

3.border-collapse

4.border-cell


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

1.border-radius

2.border-corner-radius

3.border-bottom-left-radius

4.border-left-radius


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

1.4

2.6

3.8

4.9


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

1.(X)HTML CSS

2.CSS level 2

3.CSS level 2.1

4.CSS level 1


Question:
There is no single integrated ____________________ because it is split into separate modules.CSS1 specification

1.CSS1 specification

2.CSS2 specification

3.CSS3 specification

4.CSS4 specification


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

1.CSS level 1

2.CSS level 2

3.CSS level 3

4.CSS level 2.1


Question:
What does HSL stands for?

1.Hue Specified Lightness

2.Hue Spot Lightness

3.Hue Saturation Lightness

4.None of the mentioned


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

1.heading becomes green

2.heading becomes dark-green

3.error occors

4.nothings happen


Question:
What will be the output of following code snippet?

1.color: red text-decoration: underline and font-style: italic all works

2.text-decoration: underline and font-style: italic works

3.color: red text-decoration: underline works

4.only font-style: italic works


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

1.background-image

2.border-image

3.background-image-source

4.border-image-source


Question:
Which CSS property is Equivalent for the align attribute?

1.float

2.text-align

3.centre

4.float & text-align


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

1.color

2.margin

3.align

4.font


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

1.font-family

2.font-style

3.color

4.all of the mentioned


Question:
Which is the latest version of CSS available?

1.CSS2

2.CSS3

3.CSS3.1

4.CSS4


Question:
Which of the following

1.text-overline

2.text-overline-decoration

3.text-overline-width

4.text-decoration-overline-width


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

1.font-style

2.font-stretch

3.font-expand

4.none of the mentioned


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

1.src

2.link

3.rel

4.href


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

1.HSLa Color

2.Commonly defined named colors

3.System Color Names

4.Specificationdefined named colors


Question:
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

1.RGB Color

2.RGBa Color

3.HSL Color

4.HSLa Color


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

1.RGB Color

2.RGBa Color

3.HSL Color

4.HSLa Color


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

1.RGB Color

2.RGBa Color

3.HSL Color

4.HSLa Color


Question:
Which of the following Color Format is a CSSs six-digit hexadecimal format is the same as color defined in (X)HTML?

1.6-Hex Color

2.3-Hex Color

3.RGBS

4.RGBa


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

1.border-background

2.border-background-color

3.border-color

4.all of the mentioned


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

1.border

2.padding

3.border-collapse

4.border-width


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

1. text-decoration: underline

2.text-decoration: overline

3.text-decoration: line-through

4.text-decoration: none


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

1.font

2.font-style

3.text-decoration

4.all of the mentioned


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

1.CurrentColor keyword

2.HSLa Color

3.HSL Color

4.RGB Color


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

1.<script>

2.<style>

3.<link>

4.all of the above


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

1.<source>

2.<link>

3.<script>

4.<src>


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

1.auto

2.number

3.count

4.none


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

1.inherit

2.default

3.large-caps

4.small-caps


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

1.controls

2.src

3.check

4.loop


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

1.normal

2.italic

3.oblique

4.none of the above


Question:
Which of the following is not an Absolute Unit?

1.px

2.em

3.pt

4.mm


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

1.all

2.collapse

3.inherit

4.separate


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

1.Use an external style sheet either by importing it or by linking to it

2.Directly embed a document-wide style in the head element of the document

3.Set an inline style rule using the style attribute directly on an element

4.All of the mentioned


Question:
Which of the following measurement defines measurement as a percentage?

1.%

2.cm

3.em

4.in


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

1.default

2.font-size-fallback

3.font-adjust

4.font-size-adjust


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

1.font-style

2.font-family

3.font-kerning

4.font-variant


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

1.list-style-type

2.list-style-image

3.list-style

4.list


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

1.list-style-type

2.list-style-image

3.list-style

4.list


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

1.border

2.border-top

3.border-top-corner

4.border-top-style


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

1.height

2.font-weight

3.default

4.font-variant


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

1.space

2.line-height

3.letter-spacing

4.letter-space


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

1.text-size

2.font-size

3.size

4.text


Question:
Which of the following Protocol enables a hyperlink to access a file on the local file system?

1.https

2.ftp

3.file

4.telnet


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

1.:first-letter

2.:last-child

3.:first-line

4.::first-line


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

1.@media

2.:target

3.selection

4.only


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

1.font-weight

2.font-synthesis

3.font-kerning

4.font-variant


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

1.text-font

2.text-format

3.text-color

4.text-decoration-color


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

1.text-style

2.text-decoration

3.text-line

4.text-decoration-line


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

1.border-spacing-cell

2.border-width-spacing

3.border-spacing

4.cell-spacing


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

1.line

2.underline

3.overline

4.blink


Question:
Which of the following unit represent the viewports width?

1.vh

2.vmin

3.vw

4.ch


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

1.font-weight

2.font-synthesis

3.font-kerning

4.font-variant


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

1.<script>

2.<php>

3.<style>

4.<css>


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

1.CSS level 1

2.CSS level 2

3.CSS level 3

4.CSS level 2.1


Question:
___________ 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.

1.align

2.ruby

3.lang

4.text-align


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

1.CSS 1

2.CSS 2

3.CSS 2.1

4.CSS 3


More MCQS

  1. CSS MCQ Questions & Answers Part 1
  2. CSS MCQ Questions & Answers Part 2
  3. CSS MCQ Questions & Answers Part 3
  4. CSS Mcq Questions
  5. CSS mcqs Part 1
  6. CSS mcqs Part 2
  7. CSS mcqs Part 3
  8. Css Mcq Set 1
  9. Css Mcq Set 2
  10. Css Mcq Set 3
  11. Css Mcq Set 4
  12. Css Mcq Set 5
  13. Css Mcq Set 6
  14. Css Mcq Set 7
  15. Css Mcq Set 8
  16. Css Mcq Set 9
  17. CSS Multiple-Choice Questions
  18. CSS MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!