M2-R5 O Level MCQ Questions on CSS with Answers

M2-R5 O Level MCQ Questions on CSS with Answers

31-With, which tag you write the style rules directly within the document found
within the head of the document.
A) <script>
B) <php>
C) <style>
D) <css>

32-What does screen media type is used for?
A) For use with all devices
B) For use with handheld devices
C) For use with computer screens ✔️
D) For use with television-type devices

33-For Inline Style, we don’t need to reapply style information throughout the document and outside documents.
A) True
B) False ✔️

34-Inline style has the lowest priority
A) True
B) False ✔️

35-For External Style Sheets in some cases when @import is used, the browser may cause a rendering “flash” under slow loading conditions.
A) True ✔️
B) False

36-Which of the following tag is used to linked information should be placed inside?
A) <head> ✔️
B) <html>
C) <div>
D) <body>

37-Which of the following tag can be used to embed a Document-wide styles in a document’s head element?
A) <head>
B) <style> ✔️
C) <script>
D) <html>

38-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.
A) <head>
B) <style>
C) <script>
D) @import ✔️

39-Which of the following measurement defines a measurement relative to a font’s x-height?
A) ex ✔️
B) em
C) pt
D) px

40-Which of the following measurement defines measurement as a percentage?
A) % ✔️
B) cm
C) em
D) in

41-Which of the following property sets the font size of text?
A) text-size
B) font-size ✔️
C) size
D) text

42-Which of the following property sets a variation of the specified or default font family?
A) height
B) font-weight
C) default
D) font-variant ✔️

43-Which of the following property defines labels for a list of items?
A) list-style-type ✔️
B) list-style-image
C) list-style
D) list

44-Which of the following property assigns a graphic image to a list item?
A) list-style-type
B) list-style-image ✔️
C) list-style
D) list

45-Which of the following property sets the amount of spacing between letters?
A) space
B) line-height
C) letter-spacing ✔️
D) letter-space

46-Which of the following is the CSS Extension Prefixes for Webkit?
A) –webkit ✔️
B) -o-
C) -web
D) -chrome

47-Which CSS property is equivalent for the attribute <center>?
A) color
B) margin
C) align ✔️
D) font

48-Which CSS property is Equivalent for the align attribute?
A) float ✔️
B) text-align
C) centre
D) float & text-align

49-Which is the latest version of CSS available?
A) CSS2
B) CSS3 ✔️
C) CSS3.1
D) CSS4

50-Which CSS property is equivalent for the attribute <font>?
A) font-family
B) font-style ✔️
C) color
D) all of the mentioned

51-Which of the following CSS property is used to give a line over the text?
A) text-decoration: underline
B) text-decoration: overline ✔️
C) text-decoration: line-through
D) text-decoration: none

52-The first CSS specification to become an official W3C Recommendation is____
A) (X)HTML CSS
B) CSS level 2
C) CSS level 2.1
D) CSS level 1 ✔️

53-____first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.
A) CSS level 1
B) CSS level 2
C) CSS level 3
D) CSS level 2.1 ✔️

54-There is no single, integrated____because it is split into separate modules.
A) CSS1 specification
B) CSS2 specification
C) CSS3 specification
D) CSS4 specification ✔️

55-Unlike CSS 2, which is a large single specification defining various features?
A) CSS level 1
B) CSS level 2
C) CSS level 3 ✔️
D) CSS level 2.1

56-____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.
A) align
B) ruby ✔️
C) lang
D) text-align

57-___has a grammar but unlike traditional (X)HTML it is not defined with a document type definition.
A) CSS 1
B) CSS 2
C) CSS 2.1 ✔️
D) CSS 3

58-What will be the output of following code snippet?
h1 {color: red text-decoration: underline; font-style: italic;}
A) color: red, text-decoration: underline and font-style: italic all works
B) text-decoration: underline and font-style: italic works
C) color: red, text-decoration: underline works
D) only font-style: italic works ✔️

59-What will be the output of below mentioned code snippet?
h1 {color: “green”;}
A) heading becomes green
B) heading becomes dark-green
C) error occors
D) nothings happen ✔️

60-Which of the following is the correct way to applying style to a document?
A) Use an external style sheet, either by importing it or by linking to it
B) Directly embed a document-wide style in the head element of the document
C) Set an inline style rule using the style attribute directly on an element
D) All of the mentioned ✔️

O LEVEL M2-R5 (WEB DESIGNING AND PUBLISHING) MCQs OF CSS

Related Link