![]() |
|
![]() |
|
![]() |
|
![]() |
Step 2 : Creating Your first HTML document Lets jump headfirst into your first HTML document. Open 'Notepad' or whichever editor you have chosen and start with the following...
Each one of those is called a tag. There is a starting tag and a closing tag. To make a closing tag just add a / to the starting tag. Most, but not all tags have a closing tag. Tags are a way to give instructions to the browser. What you have just told the browser that <HTML> is the start of a HTML document and </HTML> is the end of a HTML document. Next, every HTML document needs a pair of HEAD tags.
And the bulk of the page is going to be within the BODY tags. Lets put the phrase 'Hello World' or any other text you like within the BODY tags.
Now save the document with the extension .htm or .html and your HTML document is ready. Congratulations!!! You have just created your first HTML document. You can now doubleclick on it and view it in a browser. This is the minimum requirement for an HTML document.
|
![]() |
|
Broadband | Chat | Contest | Movies | E-cards | Weather | Travel | | Romance | Astrology | Shopping Money | Instant Messenger | Auctions | Auto | Education | Jobs | TechJobs | Women | Technology |
|
![]() Disclaimer © 2000 rediff.com India Limited. All Rights Reserved. |