NIELIT O Level Exam

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

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 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad