Url
URL
A Uniform Resource Locator (URL), colloquially termed a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. URLs are used to retrieve web pages, image files, video files, and other types of digital content. They are a fundamental aspect of Internet navigation and functionality.
Overview[edit | edit source]
URLs provide a way for computers to retrieve information over the internet. They are a type of Uniform Resource Identifier (URI); although many people use the two terms interchangeably, a URL is actually a specific type of URI.
The URL contains information about the location of a web resource as well as the protocol used to access it. This typically includes a protocol (such as HTTP or HTTPS), a hostname, and a file or resource location.
Syntax[edit | edit source]
The syntax of a URL is defined by RFC 3986 and is typically in the following form:
protocol://hostname/path
The protocol indicates the method of access, the hostname specifies the location of the server hosting the resource, and the path specifies the specific resource to be accessed.
Components[edit | edit source]
A URL consists of several components, some of which are optional:
- Scheme: This is the protocol used to access the resource. Common schemes include http, https, ftp, and mailto.
- Authority: This includes the domain name or IP address of the server hosting the resource, as well as optional user information and port number.
- Path: This specifies the specific resource on the server. It often resembles a file path, but does not have to point to an actual file.
- Query: This is a string of parameters and values that are passed to a script on the server. It is preceded by a question mark.
- Fragment: This is an optional part of the URL that is preceded by a hash mark (#). It specifies a part or a position within the overall resource or document.
Encoding[edit | edit source]
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 a valid ASCII format. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
See also[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD