|
Property: |
color |
Values: |
<color> |
Initial: |
UA specific |
Inherited: |
yes |
A D V E R T I S E M E N T
This property describes the text color of an element (often referred to as
the foreground color). There are different ways to specify red:
A D V E R T I S E M E N T
EM { color: red } /* natural language */
EM { color: rgb(255,0,0) } /* RGB range 0-255 */
Example:
body {background-color: yellow}
h1 {background-color: red; color:purple}
h2 {background-color: blue; color:white}
h3 {background-color: navy; color:aqua}
|
Be the first one to comment on this page.
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
Keywords:
Keywords:css background,css position,css padding,css overflow,css display,css margin,css validator
|
|
HTML Quizzes |
|
XML Quizzes |
|
Browser Scripting Quizzes |
|
Server Scripting Quizzes |
|
.NET (dotnet) Quizzes |
|
Multimedia Quizzes |
|
Web Building Quizzes |
|
Java Quizzes |
|
Programming Langauges Quizzes |
|
Soft Skills Quizzes |
|
Database Quizzes |
|
Operating System Quizzes |
|
Software Testing Quizzes |
|
SAP Module Quizzes |
|
Networking Programming Quizzes |
|
Microsoft Office Quizzes |
|
Accounting Quizzes |
|
|