Untitled Document



 Introduction to HTML
 Structure of HTML
 Creating First HTML  Document
 Building Your HTML  Document
 Tables
 Frames
 Including Images into  Document
 Including Multimedia
 Developing HTML  FORMS
 Using Style Sheet
 Understanding URLs
 Understanding URLs
   Understanding URLs
 Absolute URLs
 Relative URLs
 
 Relative URLs
 Type of URL Schemes
 
   HTTP
   Mailto
 News
 File Transfer Protocol
 
 File Transfer Protocol
 File
 
 File
 Telnet
 
 Telnet
 Using JavaScript
 Using Java

Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




  Understanding URLs > Type of URLs Schemes

  HTTP

The URL scheme "Hyper Text Transfer Protocol" is the Web's native protocol and is used to access HTML pages through web browser and other client agents.

The URL scheme for http looks like this

Note

http://defines the protocol used to access the host. The host is either a domain name like www.layoutgalaxy.com or a numerical IP address like 254.202.123.231. The port for Web servers defaults to 80. The path defines the locaton of the requested HTML document on the host. The searchpath, which is optional , includes parameters for CGI processing.

  Mailto

The URL scheme mailto is used to invoke email programs.

The URL scheme is as follows:

Note

In mailto scheme, e-mail-id indicates the mail id of the recipient, address.com indicates the server address to which the mail id is concerned and the subject is the subject of the mail (is optional).

Example

In this exercise you will learn to invoke e-mail programs using mail-to.

This statement opens the mailto box where the mail-id "sofia@usa.net" appears in the send to box.

This statement displays the subject of the mail in the subject box.

The relative reference to open the mail to box appears. Click the "contact sofia" link.

The mail to box with the to address and subject is displayed. The contents of the mail can be typed in the highlighted area and the send icon is clicked to send the mail to the recipient.


  News

This URL scheme is used to give link to the visitors to access Usenet newsgroups. A news URL simply provides their news reader software with the parameters to locate either a particular newsgroup or even a particular article.

Syntax

Back Next


Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




17, Vadsarvala Nivas, 65-A, J. Nehru Road, Mulund (W), Mumbai - 400 080 INDIA
Tel : 91-22-25795588, 91-22-25780444 Fax : 91-22-25793397
Email : ionline@vsnl.com
© Image Online 2001-2003