Deep Patel
0
Q:

html how to change text color


  
    <font color="red">This is some text!</font>
  
 
0
HTML
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>
3
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>
1
<p style="color:red;">This paragraph is red.</p>
2
<font color="red">This is some text!</font>
1
<body>
  <h2 style="color: tomato;">
   THIS TEXT WILL BE IN TOMATO COLOR
  </h2>
</body>
3
<body>
  <!-- style color (hex color) + the text -->
  <h1 style ="color: #000000; "> Apples <em>is a tech company</em></h1>
</body>
0
HTML color to text
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>
0
<font color="red">
  
	Lorem Ipsum
  
</font>
0

New to Communities?

Join the community