HTML & CSS
Specify <b ...
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
Specify
all the correct ways
to set the
CSS color property:
color: #FF0000;
color: rgb(255,0,0);
color: "red";
color: red;
color: #F00;
color: #&FF0000;
Explanation
color: "red";
- in this case, the color should be specified as a text constant without quotes.
color: #&FF0000;
- invalid recording format. All other options are correct.
css
html
color
format
property
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
How to change the color of a link to blue when the cursor moves over i...
How to add a background color for all items <h1>?...
Which CSS property defines the font size of a text?...
<p class="red yellow">What will be the color of t...
<p class="red yellow">Which color will this text be?&...
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?...
Which color will word "text" has? <style> p{ ...
What is the property clear: both?...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment