Html Heading Color Example


Html Heading Color Example : You can add heading colors using css styles.


Html Heading Color Example

Synatx with Demo

Example

<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<style type="text/css">
h1 { color: red; }
h2 { color: green; }
h3 { color: blue; }
h4 { color: skyblue; }
h5 { color: black; }
h6 { color: yellow; }
</style>
</head>
<body>

<h1>H1 Heading</h1>
<h2>H2 Heading</h2>
<h3>H3 Heading</h3>
<h4>H4 Heading</h4>
<h5>H5 Heading</h5>
<h6>H6 Heading</h6>

</body>
</html>

Try it »

Output Would be :

Html Heading Color Example

Html Heading Color Example


Advertisements

Add Comment

📖 Read More