The color CSS property : To change the colour of your text, use the color CSS property and then choose a value.
It’s the same as using the background-color property.
Remember to use the American spelling ”color”.
<body> <div style="color: blue;">Hello World. Im using the color property </div> <!--color property--> </body>
Sample output of the above code:
Related Posts:
CSS, HTML, JAVASCRIPT, Online Compiler. Code on the go by replit.it
Building a web page with HTML tags
What is a Shortcode in WordPress?
Introduction to JavaScript – Create a Variable: let
CODING WITH CSS: The style attribute
Using more than one CSS property
JavaScript Comparison Operators
Learn about JavaScript IF STATEMENTS
Introduction to JavaScript – Review Types and Operators
Introduction to JavaScript – Control Flow: if/else Statements
The background-color CSS property
Introduction to JavaScript – Libraries
Learn RE – Regular Expressions in Python
Learning computer programming, with no teachers and no tuition