what is the difference between url and uri with example?
You see, a URI can be a name, locator, or both for an online resource where a URL is just the locator. URLs are a subset of URIs. That means all URLs are URIs. ... On the other hand, your address is both a URI and a URL because it both identifies you and it provides a location for you.