HTML & CSS
Which <b>s ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
Which
selector
will take
precedence
over the text
in the paragraph?
p.test {color: yellow;}
#test {color: green;}
.test {color: red;}
transparent
Explanation
CSS rules based on
id
attribute have the
highest priority.
css
precedence
html
p
selector
priority
id
#
paragraph
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
<style type="text/css"> #bottom { background...
The code is given. <div id="foxmenu"> Text <...
Which color will word "text" has? <style> p{ ...
Which CSS property can set the height of a line of text?...
<p class="red yellow">What will be the color of t...
H
TML & CSS
Quiz
Login to learn HTML & CSS
or
Read more about
HTML & CSS Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
HTML & CSS quizzes
How to make a shadow for text in gray?...
Which of the following is true about the pseudo-class ...
What is the difference between pseudo-elements :after and ...
What is the font-variant property for?...
How to change the color of a link to blue when the cursor moves over i...
What is the property clear: both?...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment