Horje

Full Example of HTML Color Names

In HTML, a color can be specified by using a color name:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1 style="background-color:Tomato;">Tomato</h1>
<h1 style="background-color:Orange;">Orange</h1>
<h1 style="background-color:DodgerBlue;">DodgerBlue</h1>
<h1 style="background-color:MediumSeaGreen;">MediumSeaGreen</h1>
<h1 style="background-color:Gray;">Gray</h1>
<h1 style="background-color:SlateBlue;">SlateBlue</h1>
<h1 style="background-color:Violet;">Violet</h1>
<h1 style="background-color:LightGray;">LightGray</h1>

</body>
</html>

Output should be:

Full Example of HTML Color Names



Single Articles
Example of HTML Color NamesHTML Colors
Full Example of HTML Color NamesHTML Colors


Related Articles
What is HTML Colors HTML Colors
How to create HTML Color Names HTML Colors
How to create HTML Background Color HTML Colors
How to create HTML Text Color HTML Colors
How to create HTML Border Color HTML Colors
How to create HTML Color Values HTML Colors

Type:
Html
Category:
Web Tutorial
Sub Category:
HTML Colors
Uploaded by:
Admin