Search

HTML Colors 

Colors are very important to give a good look and feel to your website. we can fill colors  for individual tags using bgcolor attribute. bgcolor ? set a color for the background of the webpage.

Example :-

<!DOCTYPE html> 
<html>
   <head>
      <title>HTML Background Colors | stack overlode</title>
   </head>
   <body bgcolor = "green">
      <h1>This example is bgcolor</h1>
   </body>
</html>

Text ? set a color for the body text

Example :- 

<!DOCTYPE html> 
<html>
   <head>
      <title>HTML Text Colors | stack overlode</title>
   </head>
   <body text = "green">
      <h1>This example is text color</h1>
   </body>
</html>

Stack Overlode is optimized Tutorials and examples for learning and training. Examples might be simplified to improve reading and learning and understand. Tutorials and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using Stack Overlode, you agree to have read and accepted our terms of use, cookie and privacy policy.