Saturday 17 January 2015

HTML URL

URL is Uniform Resource Locator , This Term is used as a Web Address.A Uniform Resource Locator (URL) is used to address a document (or other data) on the web.

SYNTAX FOR WEB ADDRESS

http://www.tech-e-learning.com/


scheme://host.domain:port/path/filename  


  • scheme - defines the type of Internet service (most common is http)
  • host - defines the domain host (default host for http is www)
  • domain - defines the Internet domain name (tech-e-learning.com)
  • port - defines the port number at the host (default for http is 80)
  • path - defines a path at the server (If omitted: the root directory of the site)
  • filename - defines the name of a document or resource 

URLs can only be sent over the Internet using the ASCII character-set.Since URLs often contain characters outside the ASCII set, the URL has to be converted into ASCII.

URL encoding converts characters into a format that can be transmitted over the Internet.

URL encoding replaces non ASCII characters with a "%" followed by hexadecimal digits.

URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign, or %20.

0 comments:

Post a Comment