First program


First program
Lets write-down our first program :

* Open Notepad, wordpad or editor of your choice and write-down or simply copy-paste following text:

<html>
<head>
<title>My First Page</title>
</head>
<body bgcolor="blue" text="yellow">
This is my page content.

Note the Title-Bar it has title as "My First Page".

Background color is set to Blue and text will be displayed in Yellow.

</body>
</html>


* Save above program with the .html extension.
* After saving file it will create one HTML file, open it and see the result.
* Code above needs no explaination as it is so simple. We have displayed page with blue background and yellow text. We have given page title.

0 comments:

 
Home

Copyright © 2009 Programming |Designed by Templatemo |Converted to blogger by BloggerThemes.Net | Reviewed by Blogger Templates