Beginner's guide - Intro

  »   Beginner's guide  »   HTML Tutorial - Intro

This series of tutorials is made to give you some experience so that you can be capable to read and write HTML, to be able to save documents, and after that to see your work in a web browser. Unfortunately, this page does not have a section for teaching you how to use all base functions of a computer, so in this point of view you can ask for help from a friend:

Before you continue learning HTML, you must:

  • Know what is an notepad and how to use it
  • Know how to open a file using internet Explorer (or any other browser, we recommend Chrome )
  • Know how yo make and what represents a copy/paste

First web page

For the beginning copy next HTML code in notepad. Be sure that the operation is correctly executed or the page will not work properly.

html<html>
	<head>
	</head>

	<body>
		
		<!-- _in_article_ad -->
		<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-2257661556046991" data-ad-slot="4697517129"></ins>
		<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
	<h2>My first web page !</h2>
	</body>
</html>

The upper code, is all you need to create a basic web page. Now you can save the document in notepad selecting from File menu, the Save As option. In the new opened window, select All Files. We will give a name to the file, for example, "index.html", without using quotation marks. Check twice before you push the Save button. I will ask you to try to remember where you have saved the file because we will work with this file a bit later.

How to see your first web pages - Browsers

So that you can see your web page, you should use a browser. Browsers are those internet programs that interpret HTML code, similar to those you have copied and saved in notepad. This transforms the HTML code into a web page that can be read by any internet user. The most used browsers are:

  • Chrome
  • Firefox
  • Safari
  • Opera
  • Internet Explorer

How to see your first web page

If you want to see your web page, you have to open the "index.html" file in your browser. To do that you can simply double click the file if the .html extension is already associated. Otherwise, you will have to right-click index.html and select "open with..." and then select your favorite browser from the list.

Congratulation ! You have just opened your first web page.