CSS/Css Mcq Set 2 Sample Test,Sample questions

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

1.inline-block

2. list-item

3. block

4.inline


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

1.ex

2.em

3.pt

4.px


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

1.visible

2.scroll

3.auto

4.hidden


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

1.spacing

2.text-space

3.white-space

4.word-spacing


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

1. pseudo-tag

2. pseudo-element

3.pseudo-id

4.pseudo-class


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:
The __________ property specifies the type of positioning method used for an element.

1.align

2. float

3.position

4. padding


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

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

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 CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?

1.HSLa Color

2.Commonly defined named colors

3.System Color Names

4.Specificationdefined named colors


Question:
Which of the following Color Format is a CSS’s 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 display property value is described by used internally by browsers to create list items. Of no practical value to web designers?

1. inline-block

2.list-item

3. group

4.None of these


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 format is supported by all the latest browser?

1.EOT

2.WOFF2

3. SVG

4.WOFF


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

1. bold

2.small-caps

3.normal

4.none of the mentioned


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

1.unfocus

2.normal

3.lighter

4.Normal


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

1. normal

2.50%

3. expanded

4.ultra-expanded


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

1. -webkit

2.-o-

3.-web

4. -chrome


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

1. @font-face

2.@charset

3.@media

4. !important


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

1.height

2. aspect-ratio

3.device-height

4.resolution


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

1. grid

2.monochrome

3.resolution

4.Orientation


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

1.ratio

2.aspect-ratio

3. deviceaspect-ratio

4.Resolution


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

1. height

2.padding-height

3. top

4.padding-top


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

1. text-transform

2. word-wrap

3. text-overflow

4. text-indent


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

1.@media

2.voice

3.voice-duration

4.all of the mentioned


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

1.text-shadow

2.shadowed

3. shadow

4.word-shadow


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

1.font-size

2.font-variant

3.font-style

4. font-weight


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

1. overflow-x

2.overflow

3.overflow-y

4. overflow-k


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

1.text-transform

2. text

3. text-decoration

4.text-uppercase


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

1.border-bottom-style

2.border-collapse

3.border-style-bottom

4.none of the mentioned


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

1.border-style

2.border-left-style

3. border-left-width

4. border-right


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

1. boder

2.margin

3. padding

4. none fof the mentioned


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

1. color

2. color

3.background

4. all of the mentioned


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

1. overflow-wrap

2. text-align-last

3.text-transform

4. text-indent


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

1.voice-balance

2.voice-balance

3. balance

4. None of the mentioned


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

1. font-size

2.font-variant

3. font-style

4.font-weight


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

1. voice-family

2.voice-check

3.voice-control

4. None of the mentioned


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

1. font

2.style

3.font-style

4.@font-face


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

1.text-decoration-line

2. text-line-decoration

3. text-decoration-style

4.text-style-decoration


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

1.push

2. accelerator

3.jump-start

4.animation


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

1. @media

2. :target

3.::selection

4. :only-of-type


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

1. visible

2.hidden

3. collapse

4.none of the mentioned


Question:
Which style is this?

<body style="background-color: lightcyan">

1. Inline Styles

2.External Style Sheet

3.External Style Sheettyle Sheet

4. None of the mentioned


Question:
With, which tag you write the style rules directly within the document found
within 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:
______ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.

1. tv

2. tty

3.media

4. audio


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


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!