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;}

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials 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 Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz