Answers for "how to color text using html in body tag"

19

html text color tag

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

how to change font color of h2 tag in html

<!doctype html>
<html>
  <head>
    <title>shivam the new hacker</title>
    <style>
      h2{font color="yellow"}
    </style>
  </head>
  <body>
    abc
  </body>
  <html>
Posted by: Guest on July-26-2020

Browse Popular Code Answers by Language