Direct Links


Well, to start up with our first HTML page

Open your notepad and type the text below.Then go to file->save and save as somepage.html
or somepage.htm .Now open the file in any browser like Mozilla or Internet Explorer.

Click once to select

You will see output in the browser

My First Page

Explanation:

Every Html page begins with and nds with Whatever typed in body tag comes on screen.Inside HEAD tag no. of other parameters are listed.One of them used above is title.Text typed between Title tags becomes title of the web-page and is usually dispayed by the browser as name of window or tab.There are many more other tags which can be put inside head tag but we will learn about them later.
In HTML it is not mandatory that every opening tag should have a corresponding closing tag.But however it is always a good practice to close every tag which is opened.

Differnce between .htm and .html extensions

Using either of the extensions give the same results.Initially .html was introduced but some Operating Systems do not support 4 letered extension so .htm camed into picture which was 3 lettered extension.