On this tutorial we are going to create our very first web-page: The Hello World! page.
We will need a text editor, like NotePad and a browser (Internet Explorer, Mozilla Firefox).
A HTML document is composed by HTML tags and plain text (and/or pictures/flash etc.). HTML tags usually come in pairs like <p> and </p>, the first tag in a pair being the start tag and the second the end tag. The browser does not display the tags, but rather interpret them and display the content of the page.
Every HTML document has a few distinctive elements:
<HTML>
</HTML>
These tags mark the beginning and the end of the HTML document.
<BODY>
</BODY>
These tags mark the beginning and the end of the VISIBLE page content.
Now let`s build our first web-page!
A Open your text editor (NotePad) and paste the folowing code, being careful not to miss a tag – we don`t want our first page to fail, do we?
<HTML>
<BODY>
HELLO WORLD!
</BODY>
</HTML>
B Save the document by selecting “File” - “Save as”.

C Make sure to select the option Save as type “All Files” , and name your first HTML document index.html, or whatever name as long as it has the extension HTML or HTM.

D Testing
Find your new saved index.html file and double click on it to open with your favourite browser.

Congratulations! You now have your very first “Hello World!” webpage !



Sections





Recent Forum Posts