The Bgcolor means Background color,this bgcolor attribute is used to set the background color of web page.
it plays a very important role to make a website beautiful.Actually we use CSS for background color of web page, but here i simply discuss about the html bgcolor and we put the life in html web page by adding some color attribute in this tutorial.Now i show you how to add bgcolor attribute to make web page beautiful,now see
Example:
now here i want to teach you how to create a score board by using bgcolor and font color.
Example:
Your Result:

that's all if you find any problem please Contact Us.
it plays a very important role to make a website beautiful.Actually we use CSS for background color of web page, but here i simply discuss about the html bgcolor and we put the life in html web page by adding some color attribute in this tutorial.Now i show you how to add bgcolor attribute to make web page beautiful,now see
Example:
<body bgcolor="green"> <p>Now this page has a Green background!</p> </body>
i set the green background color, now see the result in web browser.
Your Result:
HTML- Web Colors
Now i want to teach you about the basic html colors and we can also use these colors as a background colors,which is one of three different types of color values.These three types are text values,numeric(RGB) and hexadecimal values.Below is the 16 basic html color attributes.
HTML-Basic Color
HTML-Basic Color
Black | Gray | Silver | White |
Yellow | Lime | Aqua | Fuchsia | ||||
Red | Green | Blue | Purple | ||||
Maroon | Olive | Navy | Teal |
HTML-Coloring fonts,table rows,and table columns
Here i show you about the common examples of bgcolor in action.
Example:
Your Result:

Here i show you about the common examples of bgcolor in action.
Example:
<table> <tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr> <tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr> <tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr> <tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr> <tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr> <tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr> </table>
Your Result:
now here i want to teach you how to create a score board by using bgcolor and font color.
Example:
<table bgcolor="#000000"> <tr><td bgcolor="gray" align="right"> <font color="red">Green Bay</font></td> <td><font color="#FFFFFF">23</font></td></tr> <tr><td bgcolor="white" align="right"> <font color="blue" >New England</font></td> <td><font color="#FFFFFF">47</font></td> </tr> </table>
Your Result:
that's all if you find any problem please Contact Us.
No comments:
Post a Comment