IntroductionTo publish an HTML document, you need to transfer a copy of it on a remote computer, called server.
You can think to a server as a warehouse-distributor. His service is called hosting.
An hosting service may be provided whether for free or not.
There are thousands of them; to find and subscribe to an hosting service, you will probably follow these steps:
There are two ways to put (upload) or get (download) and manage (rename, move, delete) files and directories on the server: using the browser, or using an FTP client.
This screenshot shows the typical Geocities file manager.
It's not a program, but a password protected web page that you use simply trough your browser.
This is a screenshot of a simple FTP client, showing some files placed on a site.
The most of the FTP clients have an interface similar to this, analogous to Windows Explorer.
An FTP client is, generally, faster and more practical than a browser-based file manager.
To connect to your server, you need to enter FTP address, username and password.
Usually, these informations can be saved as configurations options, so you don't need to provide them every time.
An FTP client has two transfer modes:
Home page and directoriesThe home page is the essential document of the web site: the address of the site is also the address of the home page.
The home page must be a single HTML file named index.html or index.htm, and must be placed in the main directory of the site, also called root directory.
All other pages, images and files can be placed whether in the root directory or in subdirectories.
suppose to upload the home page "index.htm", a page called "credits.htm" and an image called "apple.jpg" in the main directory of our site, which address is http://www.mywebsite.com.
Their correspondent addresses will be:
http://www.mywebsite.com/index.htm http://www.mywebsite.com/credits.htm http://www.mywebsite.com/apple.jpgThen, imagine to put "credits.htm" in a subdirectory called "docs" and "apple.jpg" in a subdirectory called "images".
Their addresses change correspondently:
http://www.mywebsite.com/index.htm http://www.mywebsite.com/docs/credits.htm http://www.mywebsite.com/images/apple.jpgNote: "index.htm" can't be placed elsewhere, it remains in the main directory.
Hence, his address is always the same:
Next page :
how to ...
Paragraphs and headings
Formatting the text