NIELIT O Level Exam

What will be the output of following CSS code snippet?

What will be the output of following CSS code snippet?

नीचे दिए गए CSS कोड का आउटपुट क्या होगा?

A. color:red, text-decoration:underline works

B. only font-style:italic works

C. color:red, text-decoration:underline and font-style:italic all works

D. text-decoration:underline and font-style:italic works




Correct Answer is :

B. only font-style:italic works



Explanation
There is a missing semicolon (;) after color:red.
Latest Current Affairs 2026 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