Theme Layout

Boxed or Wide or Framed

Wide

Theme Translation

Display Featured Slider

Featured Slider Styles

Display Grid Slider

yes

Grid Slider Styles

Display Trending Posts

Display Author Bio

Display Instagram Footer

off

Dark or Light Style

Light

Blog Archive

Powered by Blogger.

Tuesday, February 28, 2017

[HTML5] URL Encoding


# HTML Uniform Resource Locators


A URL is another word for a web address. A URL can be composed of words, or an Internet Protocol ( IP ) Address ( 192.68.20.50).
Most people enter the name when surfing, because names are easier to remember than numbers.

● URL - Uniform Resource Locator

 Web browsers request pages from web servers by using a URL.
A Uniform Resource Locator ( URL ) is used to address a document on the web.
A web address follows these syntax rules.

schme://prefix.domain:port/path/filename

  • scheme - defines the type of Internet service (most common is http or https)
  • prefix - defines a domain prefix (default for http is www)
  • domain - defines the Internet domain name (like w3schools.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

● Common URL Schemes

 The table below lists some common schemes.




● URL Encoding

 URLs can only be sent over the Internet using the ASCII character-set. If a URL contains characters outside the ASCII set, the URL has to be converted.
URL encoding converts non-ASCII characters into a format hat can be transmitted over the internet.
URL encoding replaces non-ASCII characters with a "%" followed by hexadecimal digits.
URLs can not contain spaces. URL encoding normally replaces a space with a plus sign, or %20.

QuickEdit
Unknown
0 Comments
Share This Post :

You Might Also Like

No comments:

Post a Comment

Follow @SunriseSunsetBlog