Adsense

Translate the website into your language :)

Latest News

Powered by Blogger.

In this section we’ll learn how to change the background color and image color of a HTML page



First see how this page will be :




Here the back ground colors is purple. And text color is white.
Now lets go how we can do this.
First open a notepad.To open notepad go
Start>>All programs/programs>>Accessories>>Notepad
We have open a notepad.Then we apply the simple HTML code.
<html>
<body>
(BODY part)
</body>
</html>
At Body part we write our desire writing.The  basic codes will be here:
<head>

<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
                background-color: #9900CC;
}
body,td,th {
                color: #FFFFFF;
}
-->
</style></head>

<body>
<table width="341" height="75" border="1" align="center" bordercolor="#000099" bgcolor="#CCCCCC">
  <tr>
    <td> <div align="center">This is the headline </div></td>
  </tr>
</table>
<p></p>
<p>This is sub-lines.General codes will applied here. </p>
</body>
</html>

Just copy this codes and paste it into a note pad. Save it as name.html(File types: all files).
 




You can modify background and text color as your wish.Suppose you want to change the background color.The main code is:
background-color: #9900CC;
You have to write:
background-color: blue;
Needs to do saving function as before.
In this section we’ll learn how to change the background color and image color of a HTML page
  • Title : In this section we’ll learn how to change the background color and image color of a HTML page
  • Posted by :
  • Date : 06:49:00
  • Labels :
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Top