Friday, February 25, 2011

An Introduction for HTML - part 1

HTML is the basic code for the websites. HTML is not a programming language. It is a markup language. HTML stands for Hyper Text Markup Language. HTML is easy to learn and easy to understand. Here the codes are called as tags. HTML is a set of mark up tags. HTML tags are keywords surrounded by angle tags <,>

Eg. <html>

The tags started will be close with the tag using.  / is the closing tag.

Rules for the HTML.

HTML pages start with the tag <html> and end with the </html>.
The next is the head part <head> </head>
You can add the head part or else you can leave the head part.

The most important part is the body part. Body part is the texts and the images shown in the websites. 

body part starts with the tag <body> and ends with the tag </body>.

HTML doesn't need any tool to develop. Just notepad and a web browser is enough for HTML coding.

Try this code in your browser.

Hello Browser
<h1> Hello World </h1>
<h3> Bensh </h2>

Copy the above  code and save it in your desktop as Helloworld.html.
The saved file will be the html format. double click on the icon and you can view the result.

Will continue the tutor in the next posts.

No comments:

Post a Comment