Which color will word "text" has?

<style>
    p{
        color: green !important;
    }

    #p{
        color: blue;
    }
</style>    
<p id="p" style="color: red">text</>

Explanation
!important allows you to increase the priority of the style, so the color will be green.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
HTML & CSS quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes