TL;DR – URL stands for a Uniform Resource Locator – an address of an Internet resource.
What Is a URL and Where Is It Located?
A uniform resource locator (URL) is basically what you would call the website address. It's a text string that refers the user to a location of a web page or another resource (such as a program or a graphic document). Surfing the web, you can always see the URL of the currently opened page in the browser's address bar.
The need for uniform resource locators arose in the 1990s with the appearance and increasing popularity of world wide web. To open a file placed not in our own computers but remote ones (e.g., servers), we needed to provide browsers the information on how to find and access them.
- Easy to use with a learn-by-doing approach
- Offers quality content
- Gamified in-browser coding experience
- The price matches the quality
- Suitable for learners ranging from beginner to advanced
- Free certificates of completion
- Focused on data science skills
- Flexible learning timetable
- Simplistic design (no unnecessary information)
- High-quality courses (even the free ones)
- Variety of features
- Nanodegree programs
- Suitable for enterprises
- Paid Certificates of completion
Parts of a URL
To better understand a simple uniform resource locator, let's break one down and review all parts of the URL separately. To make it easier, we'll use the address to this very tutorial:
|Defines the protocol for accessing the document or file
|Defines the content as world wide web
|Defines the host or server to target
|Defines website's type or location
|Directs to the exact resource. If not defined, the user will be directed to the main page of the website.
You can see these parts in nearly every web address. However, there are a few more that are optional and get used less, but you might still encounter them:
|Sets the port number of the host (e.g., :80).
|After the suffix
|Defines specific content to return (e.g., ?string="a great example". URLs with query strings are often called dynamic URLs.
|After the path
|Defines the name of a document (e.g., valuable-example.jpeg)
|End of an URL
|Directs to an exact part of the page (e.g., #incredible-example)
|End of an URL
Uniform Resource Locator: Useful Tips
- To improve user experience, make your URLs easy to type: avoid case sensitivity, skip non-ASCII characters and choose hyphens over underscores.
- When you're adding an URL to HTML links you don't neccessarily need to include it whole – a relative or root relative URL is often enough.
- The prefix part of an URL can also represent a subdomain (e.g., best.example.com).