Today, We want to share with you uri vs url.In this post we will show you uri, url, urn, hear for what is uri? we will give you demo and example for implement.In this post, we will learn about Get the full URL in PHP with an example.
What the difference is between a URI and a URL
uri vs url vs urn
- URI => Uniform Resource Identifier Identifies
- URL => Uniform Resource Locator
- URN => Uniform Resource Name
Example of URL:
This example URL has a folder but no extension
https://career.pakainfo.com/category/heavy-industries/ https://www.pakainfo.com/ifsc/ https://www.pakainfo.com/tools/what-is-my-screen-resolution https://pakainfo.com/tools/word-counter https://www.pakainfo.com/tools/online-text-case-converter
This example URL has no folder
This example URL has no extension
https://www.pakainfo.com/custom-login-in-laravel/ https://www.pakainfo.com/paypal-referral-earn-2020/ https://www.pakainfo.com/google-adsense-tutorial-with-how-to-make-money/ https://www.pakainfo.com/set-browser-for-get-adsense-high-cpc-ads-step-by-step/
Example of URI
No protocol mentioned
Domain not mentioned
ldap://[2001:db8::7]/c=GB?objectClass?one mailto:[email protected] tel:+1-816-444-7858 telnet://192.0.2.28:80/
mailto:[email protected](URL due to the
http://www.ietf.org/rfc/rfc2396.txt(URL due to the
urn:ietf:rfc:2648(URN as it does not specify a locator)
urn:isbn:0508672084(URN as it does not specify a locator)
URL — Uniform Resource Locator
/other/link.html(A relative URL, only useful in the context of another URL)
I hope you get an idea about uri vs url.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.