Consider the below code given in respective files:
 

/* styles.css */
.para {
   color: 'green'
}

<!-- index.html -->
<html>
    <head>
        <style>
            #para {
                color: 'yellow';
            }
        </style>
        <link src="styles.css" rel="stylesheet"/>
    </head>
    <body>
        <p class="para">Paragraph</p>
    </body>
</html>

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

green
yellow
black
Error: Cant use both embedded and external styling together
Verified Answer
Correct Option - a

To get all Infosys Certified React Associate Exam questions Join Telegram Group https://bit.ly/infy_premium_group

Telegram

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Thu, 31 Jul 2025