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

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad