Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Links Websites: Part 2

Question : What is the diffrence between URL and URI?

Question : What is the difference between URL and URI?

2 Answers

URIs can either be URLs or URNs. Both URLs and URNs are types of URI. A URN (URI that is not a URL) is like a name, while a URL is more like an address (since the L stands for locator).

Here are a couple of examples from Stack Overflow for URL and URN:

  • URL: news:comp.infosystems.www.servers.unix
  • URL: telnet://192.0.2.16:80/
  • URN (not URL): urn:oasis:names:specification:docbook:dtd:xml:4.1.2
  • URN (not URL): tel:+1-816-555-1212 (?)

All of the above are URIs, while only the first two are URLs.

You can view the rest of the Stack Overflow answer here (these examples are from the accepted answer): https://stackoverflow.com/questions/4913343/what-is-the-difference-between-uri-url-and-urn

Thank you ,Katie now i understand their jobs.

Hey Katie I have an a question ,Am kinda new to treehouse just started out this year but i wanted to make an sign and log in website format but i don't know how am i gonna get the user information and store it in a server or database. What Programming language do i learn so i achieve my goals?

Hi John,

You have a lot of options when dealing with user authentication - it'll depend on which languages you might already be familiar with, and which ones you feel most comfortable learning. Most of the user authentication classes here on Treehouse are at the Intermediate or Advanced level, which means you may want to take a look at the prerequisites before you tackle them. I'm going to link a few courses here that you might want to take a look at:

To set up and style the form on your web page: https://teamtreehouse.com/library/html-forms

For the actual authentication: JavaScript https://teamtreehouse.com/library/user-authentication-with-express-and-mongo Java https://teamtreehouse.com/library/user-authentication-in-spring Python https://teamtreehouse.com/library/django-authentication PHP https://teamtreehouse.com/library/php-user-authentication

These are just a few - there are plenty of relevant courses. I'd recommend looking at the Library tab on treehouse and searching for things that interest you - a lot of the ones I linked should come up if you search "authentication" for example. Some other options are ASP.NET and Ruby.

Hope this helps!

Thank you Katie now I know where to start PHP and SQL.

URI or uniform resource identifier is string of characters used identify resources.and URL or uniform resource locator and URN or uniform resource network are examples of URI

I don't mean this i mean what looks like URL and what looks like URI Like regular URL'S or URI'S