0 votes
115 views
in HTML by (3.5k points)
edited

How to change font color in HTML?

1 Answer

0 votes
by (3.5k points)
edited

<font> tag, is used to specify the text color.

  1. <font Color=”Blue”>  
  2. <font color=”rgb(128,128,0)”
  3. <font color=”#00FF00″>
<!DOCTYPE html>    
<html>     
<head>    
<title>    
 Example of color attribute   
</title>    
</head>    
<body>   
<font color="orange">   
<!-- The color attribute of font tag sets the color name 'orange' for the word Great Learningt-->   
<center>    
<h1>   
Great Learning 
</h1>   
</center>  
</font>     
</body>    
</html>

Related questions

0 votes
1 answer 112 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 101 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 94 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 103 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 114 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 114 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...