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”.

 <div style="color: blue;">Hello World. Im using the color property </div> <!--color property-->

Sample output of the above code:

Hello World. Im using the color property


Related Posts:

CSS, HTML, JAVASCRIPT, Online Compiler. Code on the go by

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

What is Python?

Introduction to JavaScript – Control Flow: if/else Statements

The background-color CSS property

Introduction to JavaScript – Libraries

Python Basic Operators

Learn RE – Regular Expressions in Python

Learning computer programming, with no teachers and no tuition

Learn about Python Conditions

Introduction to JavaScript – Built-in Methods

Alignment CSS properties