Answers for "how to change colour of a text in html"

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
1

how to change color in html

<body>
  <!-- style color (hex color) + the text -->
  <h1 style ="color: #000000; "> Apples <em>is a tech company</em></h1>
</body>
Posted by: Guest on June-06-2020

Code answers related to "how to change colour of a text in html"

Browse Popular Code Answers by Language