Trainer Riad Thalji Website

HTML Tutorial

HTML Tutorial

by Trainer Riad Thalji

Color Names

  • Direct color names can be used to specify colors for different HTML parts
  • Example color names are white, black, red, green, blue, yellow, brown, gray, darkgray, darkred, darkgreen, lightred, light green, .. etc.
  • Specifying a color for an HTML Tag can be done through using the style tag.


<!doctype html>
<p style="color: gray">
Any color whatever it be, is a combination of three colors:
<li style="color: red">Red </li>
<li style="color: green">Green </li>
<li style="color: blue">Blue </li>

The result will be:

Join Our Coming PMP Prep Course

Delivered by Trainer

Riad Thalji