Answers for "html text change color"

19

text color html

<!-- 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-->
Posted by: Guest on June-15-2020
0

changing text colour in html

<body>
  <p style="color:#FF0000";>Roses are red</p>
  <p style="color:#800080";>Violets are blue</p>
</body>
Posted by: Guest on June-29-2021

Browse Popular Code Answers by Language