Marie Wagner
10
Q:

text color html

<h1 style="color: red;">Hello</h1>
4

  
    <font color="red">This is some text!</font>
  
 
0
<span style="font-size:20px;"></span>
15
HTML
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>
3

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

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

    <p style="font-family:verdana">This is a paragraph.</p>
<p 
    style="font-family:'Courier New'">This is another paragraph.</p>
 
6
<!-- If you want a color on a specific text, use this : -->
<p style="color:---"> Text <p>
  
<!-- Here an exemple if you want a blue text-->
<p stlye="color:blue"> Romuald <p>
  
<!-- If you want a specific class in a color, use css, its better-->
4

 <h1 style="color:blue;">This is a Blue Heading</h1>
 
2

<!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