{"id":263,"date":"2015-07-26T04:57:04","date_gmt":"2015-07-26T04:57:04","guid":{"rendered":"https:\/\/courses.candelalearning.com\/computerapps\/?post_type=chapter&#038;p=263"},"modified":"2016-04-25T19:19:55","modified_gmt":"2016-04-25T19:19:55","slug":"reading-uniform-resource-locator","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/chapter\/reading-uniform-resource-locator\/","title":{"raw":"Reading: Uniform Resource Locator","rendered":"Reading: Uniform Resource Locator"},"content":{"raw":"<h2>Introduction<\/h2>\r\n<img class=\"alignright wp-image-735\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/candimgs\/c1WhED\/sm_9104870907_13432e68da_o.jpg\" alt=\"A photo of children's blocks that spell &quot;URL.&quot;\" width=\"250\" height=\"94\" \/>A <b>uniform resource locator<\/b> <b>(URL)<\/b> is a reference to a resource that specifies the location of the resource on a computer network and a mechanism for retrieving it. A URL is a specific type of uniform resource identifier (URI),<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>although many people use the two terms interchangeably.<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>A URL implies the means to access an indicated resource, which is not true of every URI.\u00a0URLs occur most commonly to reference web pages (http), but are also used for file transfer (ftp), email (mailto), database access (JDBC), and many other applications.\r\n\r\nMost web browsers display the URL of a web page above the page in an address bar. A typical URL has the form\u00a0<i>http:\/\/www.example.com\/index.html<\/i>, which indicates the protocol type (<i>http<\/i>), the domain name, (<i>www.example.com<\/i>), and the specific web page (<i>index.html<\/i>).\r\n<h2><span id=\"History\" class=\"mw-headline\">History<\/span><\/h2>\r\nThe Uniform Resource Locator was standardized in 1994\u00a0by Tim Berners-Lee and the URI working group of the Internet Engineering Task Force (IETF) as an outcome of collaboration started at the IETF Living Documents \"Birds of a Feather\" session in 1992.\u00a0The format combines the pre-existing system of domain names (created in 1985) with file path syntax, where slashes are used to separate directory and file names. Conventions already existed where server names could be prepended to complete file paths, preceded by a double-slash (\/\/).\r\n\r\nBerners-Lee later regretted the use of dots to separate the parts of the domain name within URIs, wishing he had used slashes throughout.<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>For example,<i>http:\/\/www.example.com\/path\/to\/name<\/i> would have been written <i>http:com\/example\/www\/path\/to\/name<\/i>. Berners-Lee has also said that, given the colon following the URI scheme, the two slashes before the domain name were also unnecessary.\r\n<h2><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h2>\r\nEvery HTTP URL consists of the following, in the given order. Several schemes other than HTTP also share this general format, with some variation.\r\n<ul>\r\n\t<li>the scheme name (commonly called protocol, although not every URL scheme is a protocol, e.g. mailto is not a protocol)<\/li>\r\n\t<li>a colon, two slashes,<\/li>\r\n\t<li>a host, normally given as a domain name\u00a0For example, <i>http:\/\/www.example.com\/path\/to\/name<\/i> would have been written <i>http:com\/example\/www\/path\/to\/name<\/i>\u00a0but sometimes as a literal IP address<\/li>\r\n\t<li>optionally a colon followed by a port number<\/li>\r\n\t<li>the full path of the resource<\/li>\r\n<\/ul>\r\nThe scheme says <i>how<\/i> to connect, the host specifies <i>where<\/i> to connect, and the remainder specifies <i>what<\/i> to ask for.\r\n\r\nFor programs such as Common Gateway Interface (CGI) scripts, this is followed by a query string,<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>and an optional fragment identifier.\r\n\r\nThe syntax is:\r\n\r\n<dl><dd><b>scheme:\/\/[user:password@]domain:port\/path?query_string#fragment_id<\/b><\/dd><\/dl>Component details:\r\n<ul>\r\n\t<li>The <b>scheme<\/b>, which in many cases is the name of a protocol (but not always), defines how the resource will be obtained. Examples include http, https, ftp, file and many others. Although schemes are case-insensitive, the canonical form is lowercase.<\/li>\r\n\t<li>The <b>domain name<\/b> or literal numeric IP address gives the destination location for the URL. A literal numeric IPv6 address may be given, but must be enclosed in <i>[\u00a0]<\/i> e.g.<i>[db8:0cec::99:123a]<\/i>.<dl><dd>The domain <i>google.com<\/i>, or its numeric IP address <i>173.194.34.5<\/i>, is the address of Google's website.<\/dd><\/dl><\/li>\r\n\t<li>The domain name portion of a URL is not case sensitive since DNS ignores case:<dl><dd><i>http:\/\/en.example.org\/<\/i> and <i>HTTP:\/\/EN.EXAMPLE.ORG\/<\/i> both open the same page.<\/dd><\/dl><\/li>\r\n\t<li>The <b>port number<\/b>, given in decimal, is optional; if omitted, the default for the scheme is used.<dl><dd>For example, <i>http:\/\/vnc.example.com:5800<\/i> connects to port 5800 of vnc.example.com, which may be appropriate for a VNC remote control session. If the port number is omitted for an http: URL, the browser will connect on port 80, the default HTTP port. The default port for an https: request is 443.<\/dd><\/dl><\/li>\r\n\t<li>The <b>path<\/b> is used to specify and perhaps find the resource requested. This <b>path<\/b> may or may not describe folders on the file system in the web server. It may be very different from the arrangement of folders on the web server. It is case-sensitive,\u00a0though it may be treated as case-insensitive by some servers, especially those based on Microsoft Windows.<dl><dd>If the server is case sensitive and <i>http:\/\/en.example.org\/wiki\/URL<\/i> is correct, then <i>http:\/\/en.example.org\/WIKI\/URL<\/i> or <i>http:\/\/en.example.org\/wiki\/url<\/i> will display an HTTP 404 error page, unless these URLs point to valid resources themselves.<\/dd><\/dl><\/li>\r\n\t<li>The <b>query string<\/b> contains data to be passed to software running on the server. It may contain name\/value pairs separated by ampersands, for example<dl><dd><i>?first_name=John&amp;last_name=Doe<\/i>.<\/dd><\/dl><\/li>\r\n\t<li>The <b>fragment identifier<\/b>, if present, specifies a part or a position within the overall resource or document.<dl><dd>When used with HTML, it usually specifies a section or location within the page, and used in combination with Anchor elements or the \"id\" attribute of an element, the browser is scrolled to display that part of the page.<\/dd><\/dl><\/li>\r\n<\/ul>\r\nThe scheme name defines the namespace, purpose, and the syntax of the remaining part of the URL. Software will try to process a URL according to its scheme and context. For example, a web browser will usually dereference the URL <i>http:\/\/example.org:80<\/i> by performing an HTTP request to the host at <i>example.org<\/i>, using port number 80.\r\n\r\nOther examples of scheme names include https, gopher, wais, ftp. URLs with https as a scheme (such as <i>https:\/\/example.com\/<\/i>) require that requests and responses will be made over a secure connection to the website. Some schemes that require authentication allow a username, and perhaps a password too, to be embedded in the URL, for example<i>ftp:\/\/asmith@ftp.example.org<\/i>. Passwords embedded in this way are not conducive to security, but the full possible syntax is\r\n\r\n<dl><dd><b>scheme:\/\/username:password@domain:port\/path?query_string#fragment_id<\/b><\/dd><\/dl>Other schemes do not follow the HTTP pattern. For example, the <i>mailto<\/i> scheme only uses valid email addresses. When clicked on in an application, the URL <i>mailto:bob@example.com<\/i>may start an e-mail composer with the address <i>bob@example.com<\/i> in the To field. The <i>tel<\/i> scheme is even more different; it uses the public switched telephone network for addressing, instead of domain names representing Internet hosts.\r\n<h2><span id=\"List_of_allowed_URL_characters\" class=\"mw-headline\">List of allowed URL characters<\/span><\/h2>\r\n<h3><span id=\"Unreserved\" class=\"mw-headline\">Unreserved<\/span><\/h3>\r\nThe alphanumerical upper and lower case character may optionally be encoded:\r\n\r\n<dl><dd>A B C D E F G H I J K L M N O P Q R S T U V W X Y Z<\/dd><dd>a b c d e f g h i j k l m n o p q r s t u v w x y z<\/dd><dd>0 1 2 3 4 5 6 7 8 9 - _ . ~<\/dd><\/dl>\r\n<h3><span id=\"Reserved\" class=\"mw-headline\">Reserved<\/span><\/h3>\r\nSpecial symbols must sometimes be percent-encoded:\r\n\r\n<dl><dd>! * ' ( )\u00a0;\u00a0: @ &amp; = + $ , \/\u00a0?\u00a0% # [ ]<\/dd><\/dl>Further details can for example be found in RFC 3986 and http:\/\/www.w3.org\/Addressing\/URL\/uri-spec.html.\r\n<h2><span id=\"Relationship_to_URI\" class=\"mw-headline\">Relationship to URI<\/span><\/h2>\r\nA URL is a URI that, in addition to identifying a web resource, provides a means of locating the resource by describing its \"primary access mechanism (e.g., its network location)\".\r\n<h2><span id=\"Internet_hostnames\" class=\"mw-headline\">Internet hostnames<\/span><\/h2>\r\nA hostname is a domain name assigned to a host computer. This is usually a combination of the host's local name with its parent domain's name. For example, en.example.org consists of a local hostname (<i>en<\/i>) and the domain name <i>example.org<\/i>. The hostname is translated into an IP address via the local hosts file, or the domain name system (DNS) resolver. It is possible for a single host computer to have several hostnames; but generally the operating system of the host prefers to have one hostname that the host uses for itself.\r\n\r\nAny domain name can also be a hostname, as long as the restrictions mentioned below are followed. For example, both \"en.example.org\" and \"example.org\" can be hostnames if they both have IP addresses assigned to them. The domain name \"xyz.example.org\" may not be a hostname if it does not have an IP address, but \"aa.xyz.example.org\" may still be a hostname. All hostnames are domain names, but not all domain names are hostnames.\r\n<h2><span id=\"URL_protocols\" class=\"mw-headline\">URL protocols<\/span><\/h2>\r\nThe protocol, or scheme, of a URL defines how the resource will be obtained. Two common protocols on the web are HTTP and HTTPS. For various reasons, many sites have been switching to permitting access through both the HTTP and HTTPS protocols.\u00a0Each protocol has advantages and disadvantages, including for some of the users that one or the other protocol either does not function, or is very undesirable. When a link contains a protocol specifier it results in the browser following the link using the specified protocol regardless of the potential desires of the user.\r\n<h2><span id=\"Protocol-relative_URLs\" class=\"mw-headline\">Protocol-relative URLs<\/span><\/h2>\r\nIt is possible to construct valid URLs without specifying a protocol which are called protocol-relative links (PRL) or protocol-relative URLs. Using PRLs on a page permits the viewer of the page to visit new pages using whichever protocol was used to obtain the page containing the link. This supports continuing to use whichever protocol the viewer has chosen to use for obtaining the current page when accessing new pages.\r\n\r\nAn example of a PRL is \/\/en.wikipedia.org\/wiki\/Main_Page which is created by removing the protocol prefix.\r\n<h2><span id=\"Internationalized_URL\" class=\"mw-headline\">Internationalized URL<\/span><\/h2>\r\nInternet users are distributed throughout the world using a wide variety of languages and alphabets. Users expect to be able to create URLs in their own local alphabets.\r\n\r\nAn internationalized resource identifier (IRI) is a form of URL that includes Unicode characters. All modern browsers support IRIs. The parts of the URL requiring special treatment for different alphabets are the domain name and path.\r\n\r\nThe domain name in the IRI is known as an internationalized domain name (IDN). Web and Internet software automatically convert the domain name into punycode usable by the Domain Name System.\r\n\r\nFor example, the Chinese web site http:\/\/\u898b.\u9999\u6e2f becomes the following for DNS lookup. <i>xn--<\/i> indicates the character was not originally ASCII.\r\n\r\n<dl><dd>http:\/\/xn--nw2a.xn--j6w193g\/<\/dd><\/dl>The URL path name can also be specified by the user in the local alphabet. If not already encoded, it is converted to Unicode, and any characters not part of the basic URL character set are converted to English letters using percent-encoding.\r\n\r\nFor example, the following Japanese Web page http:\/\/domainname\/\u5f15\u304d\u5272\u308a.html becomes http:\/\/domainname\/%E5%BC%95%E3%81%8D%E5%89%B2%E3%82%8A.html. The target computer decodes the address and displays the page.","rendered":"<h2>Introduction<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-735\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/candimgs\/c1WhED\/sm_9104870907_13432e68da_o.jpg\" alt=\"A photo of children's blocks that spell &quot;URL.&quot;\" width=\"250\" height=\"94\" \/>A <b>uniform resource locator<\/b> <b>(URL)<\/b> is a reference to a resource that specifies the location of the resource on a computer network and a mechanism for retrieving it. A URL is a specific type of uniform resource identifier (URI),<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>although many people use the two terms interchangeably.<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>A URL implies the means to access an indicated resource, which is not true of every URI.\u00a0URLs occur most commonly to reference web pages (http), but are also used for file transfer (ftp), email (mailto), database access (JDBC), and many other applications.<\/p>\n<p>Most web browsers display the URL of a web page above the page in an address bar. A typical URL has the form\u00a0<i>http:\/\/www.example.com\/index.html<\/i>, which indicates the protocol type (<i>http<\/i>), the domain name, (<i>www.example.com<\/i>), and the specific web page (<i>index.html<\/i>).<\/p>\n<h2><span id=\"History\" class=\"mw-headline\">History<\/span><\/h2>\n<p>The Uniform Resource Locator was standardized in 1994\u00a0by Tim Berners-Lee and the URI working group of the Internet Engineering Task Force (IETF) as an outcome of collaboration started at the IETF Living Documents &#8220;Birds of a Feather&#8221; session in 1992.\u00a0The format combines the pre-existing system of domain names (created in 1985) with file path syntax, where slashes are used to separate directory and file names. Conventions already existed where server names could be prepended to complete file paths, preceded by a double-slash (\/\/).<\/p>\n<p>Berners-Lee later regretted the use of dots to separate the parts of the domain name within URIs, wishing he had used slashes throughout.<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>For example,<i>http:\/\/www.example.com\/path\/to\/name<\/i> would have been written <i>http:com\/example\/www\/path\/to\/name<\/i>. Berners-Lee has also said that, given the colon following the URI scheme, the two slashes before the domain name were also unnecessary.<\/p>\n<h2><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h2>\n<p>Every HTTP URL consists of the following, in the given order. Several schemes other than HTTP also share this general format, with some variation.<\/p>\n<ul>\n<li>the scheme name (commonly called protocol, although not every URL scheme is a protocol, e.g. mailto is not a protocol)<\/li>\n<li>a colon, two slashes,<\/li>\n<li>a host, normally given as a domain name\u00a0For example, <i>http:\/\/www.example.com\/path\/to\/name<\/i> would have been written <i>http:com\/example\/www\/path\/to\/name<\/i>\u00a0but sometimes as a literal IP address<\/li>\n<li>optionally a colon followed by a port number<\/li>\n<li>the full path of the resource<\/li>\n<\/ul>\n<p>The scheme says <i>how<\/i> to connect, the host specifies <i>where<\/i> to connect, and the remainder specifies <i>what<\/i> to ask for.<\/p>\n<p>For programs such as Common Gateway Interface (CGI) scripts, this is followed by a query string,<span style=\"font-size: 13.3333330154419px; line-height: 22.2222232818604px;\">\u00a0<\/span>and an optional fragment identifier.<\/p>\n<p>The syntax is:<\/p>\n<dl>\n<dd><b>scheme:\/\/[user:password@]domain:port\/path?query_string#fragment_id<\/b><\/dd>\n<\/dl>\n<p>Component details:<\/p>\n<ul>\n<li>The <b>scheme<\/b>, which in many cases is the name of a protocol (but not always), defines how the resource will be obtained. Examples include http, https, ftp, file and many others. Although schemes are case-insensitive, the canonical form is lowercase.<\/li>\n<li>The <b>domain name<\/b> or literal numeric IP address gives the destination location for the URL. A literal numeric IPv6 address may be given, but must be enclosed in <i>[\u00a0]<\/i> e.g.<i>[db8:0cec::99:123a]<\/i>.\n<dl>\n<dd>The domain <i>google.com<\/i>, or its numeric IP address <i>173.194.34.5<\/i>, is the address of Google&#8217;s website.<\/dd>\n<\/dl>\n<\/li>\n<li>The domain name portion of a URL is not case sensitive since DNS ignores case:\n<dl>\n<dd><i>http:\/\/en.example.org\/<\/i> and <i>HTTP:\/\/EN.EXAMPLE.ORG\/<\/i> both open the same page.<\/dd>\n<\/dl>\n<\/li>\n<li>The <b>port number<\/b>, given in decimal, is optional; if omitted, the default for the scheme is used.\n<dl>\n<dd>For example, <i>http:\/\/vnc.example.com:5800<\/i> connects to port 5800 of vnc.example.com, which may be appropriate for a VNC remote control session. If the port number is omitted for an http: URL, the browser will connect on port 80, the default HTTP port. The default port for an https: request is 443.<\/dd>\n<\/dl>\n<\/li>\n<li>The <b>path<\/b> is used to specify and perhaps find the resource requested. This <b>path<\/b> may or may not describe folders on the file system in the web server. It may be very different from the arrangement of folders on the web server. It is case-sensitive,\u00a0though it may be treated as case-insensitive by some servers, especially those based on Microsoft Windows.\n<dl>\n<dd>If the server is case sensitive and <i>http:\/\/en.example.org\/wiki\/URL<\/i> is correct, then <i>http:\/\/en.example.org\/WIKI\/URL<\/i> or <i>http:\/\/en.example.org\/wiki\/url<\/i> will display an HTTP 404 error page, unless these URLs point to valid resources themselves.<\/dd>\n<\/dl>\n<\/li>\n<li>The <b>query string<\/b> contains data to be passed to software running on the server. It may contain name\/value pairs separated by ampersands, for example\n<dl>\n<dd><i>?first_name=John&amp;last_name=Doe<\/i>.<\/dd>\n<\/dl>\n<\/li>\n<li>The <b>fragment identifier<\/b>, if present, specifies a part or a position within the overall resource or document.\n<dl>\n<dd>When used with HTML, it usually specifies a section or location within the page, and used in combination with Anchor elements or the &#8220;id&#8221; attribute of an element, the browser is scrolled to display that part of the page.<\/dd>\n<\/dl>\n<\/li>\n<\/ul>\n<p>The scheme name defines the namespace, purpose, and the syntax of the remaining part of the URL. Software will try to process a URL according to its scheme and context. For example, a web browser will usually dereference the URL <i>http:\/\/example.org:80<\/i> by performing an HTTP request to the host at <i>example.org<\/i>, using port number 80.<\/p>\n<p>Other examples of scheme names include https, gopher, wais, ftp. URLs with https as a scheme (such as <i>https:\/\/example.com\/<\/i>) require that requests and responses will be made over a secure connection to the website. Some schemes that require authentication allow a username, and perhaps a password too, to be embedded in the URL, for example<i>ftp:\/\/asmith@ftp.example.org<\/i>. Passwords embedded in this way are not conducive to security, but the full possible syntax is<\/p>\n<dl>\n<dd><b>scheme:\/\/username:password@domain:port\/path?query_string#fragment_id<\/b><\/dd>\n<\/dl>\n<p>Other schemes do not follow the HTTP pattern. For example, the <i>mailto<\/i> scheme only uses valid email addresses. When clicked on in an application, the URL <i>mailto:bob@example.com<\/i>may start an e-mail composer with the address <i>bob@example.com<\/i> in the To field. The <i>tel<\/i> scheme is even more different; it uses the public switched telephone network for addressing, instead of domain names representing Internet hosts.<\/p>\n<h2><span id=\"List_of_allowed_URL_characters\" class=\"mw-headline\">List of allowed URL characters<\/span><\/h2>\n<h3><span id=\"Unreserved\" class=\"mw-headline\">Unreserved<\/span><\/h3>\n<p>The alphanumerical upper and lower case character may optionally be encoded:<\/p>\n<dl>\n<dd>A B C D E F G H I J K L M N O P Q R S T U V W X Y Z<\/dd>\n<dd>a b c d e f g h i j k l m n o p q r s t u v w x y z<\/dd>\n<dd>0 1 2 3 4 5 6 7 8 9 &#8211; _ . ~<\/dd>\n<\/dl>\n<h3><span id=\"Reserved\" class=\"mw-headline\">Reserved<\/span><\/h3>\n<p>Special symbols must sometimes be percent-encoded:<\/p>\n<dl>\n<dd>! * &#8216; ( )\u00a0;\u00a0: @ &amp; = + $ , \/\u00a0?\u00a0% # [ ]<\/dd>\n<\/dl>\n<p>Further details can for example be found in RFC 3986 and http:\/\/www.w3.org\/Addressing\/URL\/uri-spec.html.<\/p>\n<h2><span id=\"Relationship_to_URI\" class=\"mw-headline\">Relationship to URI<\/span><\/h2>\n<p>A URL is a URI that, in addition to identifying a web resource, provides a means of locating the resource by describing its &#8220;primary access mechanism (e.g., its network location)&#8221;.<\/p>\n<h2><span id=\"Internet_hostnames\" class=\"mw-headline\">Internet hostnames<\/span><\/h2>\n<p>A hostname is a domain name assigned to a host computer. This is usually a combination of the host&#8217;s local name with its parent domain&#8217;s name. For example, en.example.org consists of a local hostname (<i>en<\/i>) and the domain name <i>example.org<\/i>. The hostname is translated into an IP address via the local hosts file, or the domain name system (DNS) resolver. It is possible for a single host computer to have several hostnames; but generally the operating system of the host prefers to have one hostname that the host uses for itself.<\/p>\n<p>Any domain name can also be a hostname, as long as the restrictions mentioned below are followed. For example, both &#8220;en.example.org&#8221; and &#8220;example.org&#8221; can be hostnames if they both have IP addresses assigned to them. The domain name &#8220;xyz.example.org&#8221; may not be a hostname if it does not have an IP address, but &#8220;aa.xyz.example.org&#8221; may still be a hostname. All hostnames are domain names, but not all domain names are hostnames.<\/p>\n<h2><span id=\"URL_protocols\" class=\"mw-headline\">URL protocols<\/span><\/h2>\n<p>The protocol, or scheme, of a URL defines how the resource will be obtained. Two common protocols on the web are HTTP and HTTPS. For various reasons, many sites have been switching to permitting access through both the HTTP and HTTPS protocols.\u00a0Each protocol has advantages and disadvantages, including for some of the users that one or the other protocol either does not function, or is very undesirable. When a link contains a protocol specifier it results in the browser following the link using the specified protocol regardless of the potential desires of the user.<\/p>\n<h2><span id=\"Protocol-relative_URLs\" class=\"mw-headline\">Protocol-relative URLs<\/span><\/h2>\n<p>It is possible to construct valid URLs without specifying a protocol which are called protocol-relative links (PRL) or protocol-relative URLs. Using PRLs on a page permits the viewer of the page to visit new pages using whichever protocol was used to obtain the page containing the link. This supports continuing to use whichever protocol the viewer has chosen to use for obtaining the current page when accessing new pages.<\/p>\n<p>An example of a PRL is \/\/en.wikipedia.org\/wiki\/Main_Page which is created by removing the protocol prefix.<\/p>\n<h2><span id=\"Internationalized_URL\" class=\"mw-headline\">Internationalized URL<\/span><\/h2>\n<p>Internet users are distributed throughout the world using a wide variety of languages and alphabets. Users expect to be able to create URLs in their own local alphabets.<\/p>\n<p>An internationalized resource identifier (IRI) is a form of URL that includes Unicode characters. All modern browsers support IRIs. The parts of the URL requiring special treatment for different alphabets are the domain name and path.<\/p>\n<p>The domain name in the IRI is known as an internationalized domain name (IDN). Web and Internet software automatically convert the domain name into punycode usable by the Domain Name System.<\/p>\n<p>For example, the Chinese web site http:\/\/\u898b.\u9999\u6e2f becomes the following for DNS lookup. <i>xn--<\/i> indicates the character was not originally ASCII.<\/p>\n<dl>\n<dd>http:\/\/xn--nw2a.xn--j6w193g\/<\/dd>\n<\/dl>\n<p>The URL path name can also be specified by the user in the local alphabet. If not already encoded, it is converted to Unicode, and any characters not part of the basic URL character set are converted to English letters using percent-encoding.<\/p>\n<p>For example, the following Japanese Web page http:\/\/domainname\/\u5f15\u304d\u5272\u308a.html becomes http:\/\/domainname\/%E5%BC%95%E3%81%8D%E5%89%B2%E3%82%8A.html. The target computer decodes the address and displays the page.<\/p>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-263\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Uniform resource locator. <strong>Provided by<\/strong>: Wikipedia. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Uniform_resource_locator\">https:\/\/en.wikipedia.org\/wiki\/Uniform_resource_locator<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">CC BY-SA: Attribution-ShareAlike<\/a><\/em><\/li><li>URL. <strong>Authored by<\/strong>: Sam Azgor. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/www.flickr.com\/photos\/samazgor\/9104870907\/\">https:\/\/www.flickr.com\/photos\/samazgor\/9104870907\/<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":74,"menu_order":5,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Uniform resource locator\",\"author\":\"\",\"organization\":\"Wikipedia\",\"url\":\"https:\/\/en.wikipedia.org\/wiki\/Uniform_resource_locator\",\"project\":\"\",\"license\":\"cc-by-sa\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"URL\",\"author\":\"Sam Azgor\",\"organization\":\"\",\"url\":\"https:\/\/www.flickr.com\/photos\/samazgor\/9104870907\/\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-263","chapter","type-chapter","status-publish","hentry"],"part":245,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/pressbooks\/v2\/chapters\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/wp\/v2\/users\/74"}],"version-history":[{"count":7,"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/pressbooks\/v2\/chapters\/263\/revisions"}],"predecessor-version":[{"id":1385,"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/pressbooks\/v2\/chapters\/263\/revisions\/1385"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/pressbooks\/v2\/parts\/245"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/pressbooks\/v2\/chapters\/263\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/pressbooks\/v2\/chapter-type?post=263"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/wp\/v2\/contributor?post=263"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/sanjacinto-computerapps\/wp-json\/wp\/v2\/license?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}