Colours can be defined in many different contexts in HTML, for example:
If you simply type your text into a HTML editor, structure the text with help of HTML elements and then view the entire thing in your web browser, the entered text will typically be displayed correctly.
If you use a text editor or source text oriented HTML editor to produce HTML files, then you should know and pay attention to the following rules:
A typical HTML file consists of the following parts:
Anyone with extensive HTML experience can easily skip this tutorial. However, novices, and even those who wish to brush up on their basic HTML knowledge, could stand to gain from this section.