Sponsored Ad

Monday, March 8, 2010

Beginners: How to Create First HTML Program

When i was a beginner, to create first program searched a lot. Now i thought i should write a post specifying all the details, that how to write a simple html program and run it. This is very silly post but very helpful.

There few steps to create first html program without using any tool.

Step 1: Open a notepad and write the given code.

 

<html>
<head>
<title>
First Page title
</title>
</head>
<body>

<h1>First Program</h1>
<br>
This my first html program.
<br>
<p> First Paragraph. </p>

</body>

</html>

 

The HTML code file should have <html> tag at top and closing tag </html> at bottom. Then inside <html> tags there should be two tags pair <head> at the top and <body> after <head> tag. Inside <head> you can put <title> tag pair to specify title.

Beginners: How to Create First HTML Program

Step 2:  Save as the file.

Beginners: How to Create First HTML Program

Step 3:  Select Save as type –> ALL and give file name as First Program.htm or First Program.html, both are same.

Beginners: How to Create First HTML Program

After saving the file just open the file with any browser it will display you results.

Beginners: How to Create First HTML Program

Please note that this is basic details for creating a simple HTML program and these is number of html tags, you can read from online sources and create a rich program.

0 comments:

Post a Comment

Sponsored Ad

More Related Articles

Website Update

Followers