html how to set h1 tag as red color code example
Example 1: how to change h1 color in html
<h1 style="color: red;">
This is a Level1 Heading
</h1>
Example 2: how to change font color of h2 tag in html
<!doctype html>
<html>
<head>
<title>shivam the new hacker</title>
<style>
h2{font color="yellow"}
</style>
</head>
<body>
abc
</body>
<html>