Quick HTML




The basic structure

HTML (HyperText Markup Language) is the publishing language used by the World Wide Web.

The World Wide Web is a network of information resources: text, images, video clips, programs, and so on.

Now we learn how to write a very simple web page: here it is the simplest example.



This code shows a page that has the title Hello ! and shows the message Hello, i am a little web page! .
<HTML>
<HEAD>
<TITLE>Hello!</TITLE>
</HEAD>
<BODY>
Hello, i am a little web page!
</BODY>
</HTML>

Notes :
  1. Each element as <HTML> </HTML> <HEAD> </HEAD>, and so on, is called TAG.

  2. A tag as <HTML> or <BODY> is a start tag, a tag as </HEAD> or </TITLE> is an end tag.

  3. The name of an HTML file must have the extension .HTM or .HTML.

  4. The HTML file name can be different from the title of the HTML page.


Try this :
  1. Open Notepad

  2. copy and paste the code above

  3. replace the title "Hello!" with anything you like

  4. replace the text message "Hello, i am a little web page!" with another you like

  5. save the file, choosing freely the name; remember that the file extension must be .htm or .html

  6. Open the saved file with your browser.



Next page :

the basic text formatting rules.



|   Back   |   Index   |   Next   |