-->

Html Text color codes

HTML Color codes

HTML color code

Html Text Color: 


Increases the beautiful of text colors. HTML code can give different types color of text. Several tags or elements are used to change the color of the text. Many tags or elements using for make defferent style for text color. Color name or number code that is to say hex code is used to change text color in HTML documents. The hex code loke like: #FF0000. This #FF0000 hex code using for red color. Colors are provided through many HTML elements or tags. So you can use more different color for loking nice your page.

HTML All Color With Hex code.


Html Text Color Codes :



Result:

HTML text Color!

This red Used color name, and This color Code Used  inline CSS with the HTML <font> tag.

Html Text Color Codes :



Result:

HTML text color!

This blue Used color name, and this color code   inline CSS with the HTML <span> tag.

Html Text Color Codes :



Result:

HTML text Color!

This #FF0000 used color hex code, That can used   inline CSS with the <div> tag.

Html Text Color Codes :



Result:

HTML text color!

This red color Used color name, and This color Code Used inline with HTML <p> tag.

Html Text Color Codes :



Result:

HTML text color!

This blue color Used color Hex code , and This color Code Used internal CSS with HTML <font> tag.
Css Text color


Html Text Color Codes :



Result:

Html text color!
This blue color Used color Hex code , and This color Code Used internal CSS with HTML <p> tag.

Html Text Color Codes :



Result:

Html text color!

This blue color Used color Hex code , and This color Code Used internal CSS with HTML <span> tag.

Html Text Color Codes :



Result:

Html text color!
This Orange color  Used color Hex code , and This color Code Used internal CSS with HTML <div> tag.

We can use the three types of CSS to give color to the text. The three type of CSS is:

★Inline CSS
★Internal CSS
★External CSS

★Inline CSS:

Inline CSS Lives in inside to the html tag. Like:

 <p style="color:red;">Html text color!</p>


★Internal CSS

Internal CSS Lives in out outside to the html tag, but it can target to the html tag. Like:

<!DOCTYPE html>
<html>
<head>
<style>
p {color: #008000;
</style>
</head>
<body>
<div><p>Html text color!</p></div>
</body>
</html>

★External CSS:

External CSS Lives in out side the html xml page, but it can target to the xlm file location. Like:

<head>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>

Example:

html color code

Facebook Comments

Follow by Email