URI, URL and URN

2025. 8. 30. 06:09·Computer Science/Network

 

 

URI, URL and URN

  • A Uniform Resource Identifier (URI)
    • is a string of characters that uniquely identify a name or a resource on the internet.URIs have two specializations known as Uniform Resource Locator (URL), and Uniform Resource Name (URN).
    • A URI identifies a resource by name, location, or both.
  • A Uniform Resource Locator (URL)
    • is a type of URI that specifies not only a resource, but **how to reach it on the internet—like http://, ftp://, or mailto://.**
  • A Uniform Resource Name (URN)
    • is a type of URI that uses the specific naming scheme of urn:—like urn:isbn:0-486-27557-4 or urn:isbn:0-395-36341-1.

So a URI or URN is like your name, and a URL is a specific subtype of URI that’s like your name combined with your address.

 

We’ve learned above that URIs include both URNs and URLs, but let’s break that into more detail.

  1. A URI is an identifier of a specific resource. Examples: Books, Documents
  2. A URL is special type of identifier that also tells you how to access it. Examples: HTTP, FTP, MAILTO
  3. If the protocol (https, ftp, etc.) is either present or implied for a domain, you should call it a URL—even though it’s also a URI.

 

In other words, in 99% of everyday cases, you should use URL instead of URI because both are technically true but URL is more specific!

 

URL Structures

 

URLs have their own specific structure as well.

In that structure you have the following components:

  • The Scheme, which is the protocol that you’re using to interact.
  • The Authority, which is the target you’re accessing.
    • userinfo,
    • host,
    • and port.
  • This breaks down into
  • The Path, which is the resource you’re requesting on the host.
  • The Query, which are the parameters being used within the web application.
  • The Fragment, which is the target to jump to within a given page.

 

Schemes can include: HTTP, HTTPS, FTP, MAILTO, IRC, FILE, etc.

'Computer Science > Network' 카테고리의 다른 글

NAT  (0) 2025.08.17
IP Address  (0) 2025.08.06
MAC address  (0) 2025.08.01
ARP_Address Resolution Protocol  (0) 2025.07.30
Load Balancer  (0) 2025.07.25
'Computer Science/Network' 카테고리의 다른 글
  • NAT
  • IP Address
  • MAC address
  • ARP_Address Resolution Protocol
JTB
JTB
웹/앱 개발 정보를 공유하고 있습니다.
  • JTB
    JTechBlog
    JTB
  • 전체
    오늘
    어제
    • All About Programming;) N
      • Computer Science
        • Terminology and Concepts
        • Network
        • Operating System
        • Database
        • Data Structure
      • Frontend
        • Javascript Essentials
        • Perfomance Optimization
        • JS Patterns
        • Next.js
        • Flutter
      • Backend
        • Node.js
      • DevOps
        • Docker & Kubernetes
      • Coding Test N
        • LeetCode N
        • Programmers
      • Tech Books & Lectures
        • Javascript_Modern JS Deep d..
        • Network_IT 엔지니어를 위한 네트워크 입문
      • Projects
        • PolyLingo_2025
        • Build Your Body_2024
        • JStargram_2021
        • Covid19 Tracker_2021
        • JPortfolio_2021
      • BootCamp_Codestates
        • TIL
        • TILookCloser
        • Pre Tech Blog
        • IM Tech Blog
        • Daily Issues and DeBugging
        • First Project
        • Final Project
        • Sprint Review
        • Good to Know
        • Socrative Review
        • HTML & CSS
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

    • 글쓰기
    • 관리
  • 공지사항

  • 인기 글

  • 태그

    TCP/IP
    Operating System
    JavaScript
    mobile app
    커리어
    이벤트
    스코프
    CPU scheduling algorithm
    프론트엔드 성능 최적화 가이드
    Threads and Multithreading
    testing
    Data Structure
    자바스크립트 딥다이브
    structure of os
    How memory manage data
    모던 자바스크립트 Deep Dive
    딥다이브
    Time complexity and Space complexity
    Binary Tree BFS
    DOM
    leetcode
    polylingo
    자바스크립트
    Shared resources
    Network
    VoiceJournal
    need a database
    indie hacker
    js pattern
    database
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
JTB
URI, URL and URN
상단으로

티스토리툴바