of the way
0
Q:

html change color


  
    <font color="red">This is some text!</font>
  
 
0
<p style="color:red;">This paragraph is red.</p>
2

 <h1 style="color:blue;">This is a heading</h1>

 <p style="color:red;">This is a paragraph.</p> 
1
<font color="red">This is some text!</font>
1

 <h1 style="color:blue;">This is a Blue Heading</h1>
 
2
<body>
  <!-- style color (hex color) + the text -->
  <h1 style ="color: #000000; "> Apples <em>is a tech company</em></h1>
</body>
0

<!DOCTYPE html>
<html>
<head>
<style>

 body {background-color: powderblue;}
h1   {color: blue;}
p    {color: red;}

</style>
</head>
<body>

<h1>This is a 
 heading</h1>
<p>This is a paragraph.</p>

</body>
</html> 
3

 <body style="background-color:powderblue;">

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body> 
3

New to Communities?

Join the community