Introduction to HTML

HTML is a markup language.It is used to make web pages. HTML stands for Hyper Text Markup Language.
For writting HTML,we use HTML tags.For making tags we use open angle bracket (<) and close angle bracket (>).


In these angle brackets we use keywords of HTML. Combination of angle brackets with HTML  keyword is called tag i.e. <html>.

In HTML we write our text either between pair of opening and closing tags or with singluar tag for giving specific style and/or design.
We write opening tag as <keyword> and closing tag as </keyword>.
For example for making text bold we use <B>some text</B>.
In HTML some tags are singular, these tags are made as <keyword/> i.e. for breaking line we use <BR/>.

 


For making web page, take any text editor (for example note pad) and follow the steps:
Step 1. we start every web page with opening tag <html> and end with closing tag of </hml>. so write in note pad.
<html>

</html>

step 2: now write opening and closing tags of "head" tag within <html> and </html>

<html>
<head>
</head>

 


</html>

Step 3:now write opening and closing tags of "title" tag within <head> and </head>. And write your title of the page with in title tag.

<html>
<head><title>Your page title</title></head>

 


</html>


Step 4: Now write opening closing of "body" tag between </head> and </html>. Within body tag we write  all text of our web page.

<html>
<head><title>Your page title</title></head>
<body>
Here we write of actual web page text

 

</body>
</html>

Step 5 : Finally save your web page with extension html or htm and open it  with browser.
for example mypage.html or mypage.htm.
After Opening of your page, you will notice, no tag is there but only text.

In step 4, basic structure of web page is described. After this for every page we shall you use this structure.