The chapter demonstrates about the HTML URL which is also known as the another word of the web address. following are the concepts are covered in this chapter.
URL
URL Encoding
URL
Description
URL is known as the Uniform Resource Locator which is used to address a document in a web. URL look like http://www.splessons.com/. Browsers request the pages from web servers by using a URLs. The syntax of the web address is as shown below.
[html]
scheme://prefix.domain:port/path/filename
[/html]
In the above code
schema
Defines the type of internet service.
prefix
Defines the domain prefix.
port
Define the port number.
path
Define the path at the server.
filename
Defines the name of the document.
The listed below demonstrates some common schemes.
http (Hyper Text Transfer Protocol)
Commonly used and are not encrypted.
https (Secure HyperText Transfer Protocol)
Used for the secure web pages and are encrypted.
file
Defines a file on a computer.
ftp (File Transfer Protocol)
Defines the Downloading or uploading files.
URL Encoding
Description
In order to send the URLs over the internet user need to use the
American Standard Code for Information Interchange (ASCII) character-set. If URLs contains any characters outside the ASCII set then the URL has to be converted. URL converts non-ASCII characters into a format which can transformed over the internet and URL replace the non-ASCII characters with "%" followed by hexadecimal. URLs should not contain any spaces and URL encoding normally replace a space with plus(+) or %20.