MCQ Answer

<p>What will happen in the following case ?</p><pre>h1 {color: red text-decoration: underline; font-style: italic;}</pre>

What will happen in the following case ?

h1 {color: red text-decoration: underline; font-style: italic;}


निम्नलिखित मामले में क्या होगा?

h1 {color: red text-decoration: underline; font-style: italic;}
Topic : Syntax

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




Correct Answer is :

D. only font-style: italic works



Explanation

hear the ; missing after the first property so only italic property will work. to apply all given property code must be like this:

h1 {color: red; text-decoration: underline; font-style: italic;}

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad