Analyze the below code snippet:

<html>
    <head>
        <style>
            p{
                color:yellow;
            }
        </style>
    </head>
    <body>
        <p style="color:orange">CSS Selector</p>
    </body>
</html>

What will be the color of the text in the paragraph, when it is rendered in the browser?

yellow
orange
black
Nothing will be displayed as inline CSS and embedded CSS both are used
Verified Answer
Correct Option - b

To get all Infosys Certified React Associate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram