![]() |
You can set the color of text: |
<h3 style="color:Tomato;">Hello World</h3>
<p style="color:DodgerBlue;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<p style="color:MediumSeaGreen;">Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h3 style="color:Tomato;">Hello World</h3>
<p style="color:DodgerBlue;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<p style="color:MediumSeaGreen;">Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
</body>
</html>
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 |
Example of HTML Text Color | HTML Colors |
Full Example of HTML Text Color | HTML Colors |
Read Full: | HTML Colors |
Category: | Web Tutorial |
Sub Category: | HTML Colors |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 55 |
Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_color_text