Lakshya Education MCQs

Question: What will happen in this case?
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
Answer: Option D

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. What will happen in this case?
h1 {color: "green";}
  1.    heading becomes green
  2.    heading becomes dark-green
  3.    error occors
  4.    nothings happen
Answer: Option D
Question 2. 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
Answer: Option D
Question 3. What does screen media type is used for?
  1.    For use with all devices
  2.    For use with handheld devices
  3.    For use with color computer screens
  4.    For use with television-type devices
Answer: Option C
Question 4. ___________ 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
Answer: Option C
Question 5. ___________ 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
Answer: Option B
Question 6. There is no single, integrated ____________________ because it is split into separate modules.
  1.    CSS1 specification
  2.    CSS2 specification
  3.    CSS3 specification
  4.    CSS4 specification
Answer: Option D

Check all Questions in this Topic : Click HERE