What is a URL? And Know How URL works with Absolute URL VS Relative URL!


What is URL?

Are you familiar with the term URL? If you use the Internet, we can guarantee that you must have heard about and seen the "URL". In today's article, we are going to tell you what the URL is and what are its 3 most important parts? So to know this, read this article today.
Table of contents:
  • What is URL?
  • URL structure - Syntax of URL
  • Where are the URLs?
  • What happens when you type a URL in your browser?
  • Why characters are not used in URLs?
  • How to open URL?
  • Absolute VS Relative URLs
  • What is URL Shortener?
  • Conclusion

What is URL?

The URL has a full form Uniform Resource Locator, the URL is a location of a specific website, page, or file on the Internet.
For example, if you https://www.skillmeto.com/what-is-UR/enter in your web browser, your web browser will take you to this post. But if you just enter https://www.skillmeto.com/, then you will reach the homepage of skillmeto.
URL structure - Syntax of URL
The URLs available on the World Wide Web are written in a special structure called URL Syntax. The URL syntax defines the URL structure, that is, it tells how to write it.
URL structure
Common URL Structure with Different Parts
A URL consists of the following parts. You can also see in the picture above.
• Protocol
• Separator
• Subdomain
• Domain Name
• Directories
• Resource
Protocol
It is also called URI Scheme. The protocol tells the browser how to download the available resource? HTTPS is the most popular web protocol that provides the facility to securely encrypt and transfer information.
https://www.skillmeto.com/Uploads/What-is-URL/
Encrypting means encrypting the data between the browser and the server (the computer where the resource is saved), ie not transferring it in real terms. Therefore, it is not possible to misuse data when it is stolen in between.
Before HTTPS, the HTTP - Hyper Text Transfer Protocol was used, which was unsafe. Keeping in mind the cybersecurity of the user and keeping in mind the provisions of the privacy law, the Secure version of HTTP was created which is known as HTTPS i.e. HTTPS Secure.
Apart from HTTPS, FTP, mailto, telnet, news, etc. are also standard protocols that are also used as protocols, and the exchange of information is done by hand.
Separator
These are special signs that work to separate different parts of the URL from each other. For example,: // is used to separate https from the rest of the URLs. And in other places only "/" works.
https://www.skillmeto.com/Uploads/What-is-URL/
Note: As per RFC 1738 recommendations, only Alphabets in URLs, other than Numbers! Only $ - _ + * () signs can be used. They have to be encoded before using other symbols.
Subdomain
WWW is the most commonly used subdomain in URLs. There is no need for it technically and it is optional. And information can also be obtained without it. However, due to its habit, its circulation remains intact and without www, the URL is directly redirected to www URL.
https://www.skillmeto.com/Uploads/What-is-URL/
Try yourself: Go to the search box of the browser and search by typing https://www.skillmeto.com/. And notice which URLs are opening in front of you? If you pay attention, you will find that https://www.skillmeto.com has opened in front of you.
Domain Name
Where your favorite information is saved, the name of the Virtual Computer (Server) is the domain name you know by the name of the web site. This is the nickname of the IP Address. Which hides the mathematical number name from the user. And convert it into human-understandable language.
https://www.skillmeto.com/Uploads/What-is-URL/
Here the part of .com Domain Suffix or Top Level Domain (TLD), also called Domain Extension, shows the type of website. like; .com represents a commercial website. Similarly, hundreds of types of TLDs are available, which you can see by visiting the website of Domain Registrar. Besides .com, .org, .edu, .net, .biz etc. are popular top-level domains.
Directories
A website can be divided into several parts. You can consider a part to be a specific room in a house which is used only for a specific person or work. Similarly, a type of information is kept in a place so that it is easy to find.
For example, videos are kept in a folder named videos. There can also be more than one directory and directories (subdirectories) can also be created within a directory.
https://www.skillmeto.com/Uploads/What-is-URL/
Resource
https://www.skillmeto.com/Uploads/What-is-URL/
This is the actual resource that is stored on the server. It is also called webpage. Here is the file, photo, video, song that you search for. The file extension is also written in front of the file name which tells what type of file it is? .html, .htm, .php, .asp, .cgi, .xml, .jpg, .png etc. are popular file extensions.

Where are the URLs?

The URL is in the search box at the top of your browser window. The same happens in the smartphone but disappears when going down, so it is not visible. If you scroll up a bit, the URL appears in the search box, on which the full URL can be accessed by tapping.
When you share a blog post, youtube video, photo, then the link that you see is URL, which you can easily read by pasting it in a Text Editor Program.
Note: Before shopping online and doing other financial transactions, please match the official URL. This is a step taken for your online safety.

What happens when you type a URL in your browser?

If you search about it on the Internet, you will find many detailed resources, but we will understand briefly how a web browser, a server, and the general Internet work together.
1. You enter a URL in a web browser.
2. The browser looks up the IP address for the domain name via DNS.
3. The browser sends an HTTP request to the server.
4. The server sends an HTTP response back.
5. The browser starts rendering HTML.
6. The browser sends the request to embed additional objects in HTML (JavaScript, CSS, Images), and repeats steps 3-5.
7. Once the page is loaded, the browser sends further async requests as needed.
Let us understand this a little more.
When you type "https://www.skillmeto.com/" in your browser, the first thing that happens is Domain Name Server (DNS), which matches "www.skillmeto.com" From IP address. The browser then sends an HTTP request to the server and the server sends an HTTP response back. The browser starts rendering HTML on the page, while also requesting any additional resources such as CSS, JavaScript, images, etc. And then the page loads.

Why characters are not used in URLs?

We all know that Space is not used in URLs, but we should also know that according to RFC 1738 the string of the URL contains only Alphanumeric characters and other characters like !, $, -, *, ', 0 is also used and if any other characters are used then it has to be encoded.

How to open URL?

Hyperlinks are used to open URLs. You can open the URL by clicking / tapping on the hyperlink available on any webpage. The resource associated with that URL is downloaded in front of you.
When a URL is not linked to a hyperlink, then we can also open the URL by typing in the search box itself.
URLs on Printed Materials (magazines, newspapers, books, etc.) can also be opened through QR Code. This is a special technique by which the URL available on paper has the facility to open via smartphone, you do not have to type the URL. Simply scan code with the help of QR Code Scanner.

Absolute VS Relative URLs

Absolute VS Relative URLs

Absolute URLs are those which use all the substring mentioned but in some cases, only some or one location element is used. Such URLs are called Relative URLs. Relative URLs are used in Web Servers and Web Pages as a shortcut so that the length of URL Strings can be reduced. For example, the link to the same website is written in the format of Relative URL and Absolute URL.
Relative URL : <a href=”/2016/September/word-of-the-day-04.htm”>
equivalent Avsolute URL : <a href=”http://skillmeto.com/2016/September/word-of-the-day-04.htm”>
The best thing in this is that with the help of Web Servers, all the missing protocols and Host Information are automatically filled, but remember that the Relative URL can be used only in those places where Host and Protocol Information can already be established.

What is URL Shortener?

URL Shortner is a tool that converts full URLs in to short URLs. like; With the help of goo.gl, bitly, TinyURL, etc., you can convert a complex and big URL into a short URL and also share it with your friends and relatives,
This shortened URL automatically redirects to the Absolute URL. When sharing the URL of YouTube videos, share only the short URL. This is a well-known example of short URLs.
Conclusion:
We hope that you would have liked what this article is about our URL and now you have also understood the three important parts of the URL. Now if you have any questions about what is the URL, we hope that you will be able to tell it very easily.
If you have any questions related to what the URL is in your mind or you want to give any suggestions, then you must tell us through the comment.
If you liked this article of our day, what is the URL in it, then please do not forget to share this article on social media sites like Facebook, WhatsApp, and Twitter, etc. using the below button, so that more people benefit from this information Thank you so much.

Post a comment

0 Comments