Arpssss
0
Q:

how to give color to text in html


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

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

</body> 
3
HTML
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>
3
<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

 <h1 style="color:blue;">This is a Blue Heading</h1>
 
2
<body>
  <h2 style="color: tomato;">
   THIS TEXT WILL BE IN TOMATO COLOR
  </h2>
</body>
3
HTML color to text
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>
0

New to Communities?

Join the community