Latest

Continue reading this blog to discover yourself

Sunday, July 31, 2022

What is web URL?

URL stands for Uniform Resource Locator.  The full address of a website is expressed through URL. Basically the web document located on the server is identified through the URL. For example, the image named 123.jpg of the user xyz located on Facebook is identified through the URL https://www.facebook.com/xyz/123.jpg, so when a user clicks on this link, he / she will directly see the image.

Parts of URL:
1) http = protocol
2) www = host
3) facebook = domain name
4) .com = domain type
5) xyz = directory
6) 123.jpg = web document

There are two types of URL. 1) Absolute URL and 2) Relative URL

Absolute URL: Such URLs contain both the domain name and the directory path.  Absolute URL is usually used to create external connection of website.

Syntax: protocol/domain name/path

Relative URL: Such URLs contain only the directory path without the domain name.  Relative URL is usually used to create internal connection of website.

Syntax: "filename.ext" / ". /directory/filename.ext"

Example:
<img src= "c:\desktop\new folder/123.jpg">
Here the Absolute URL is applied inside the image tag.

<img src= "123.jpg">
Here the Relative URL is applied inside the image tag.

Assessment:
Copy any URL and mark it separately in different parts and comment it.

14 comments:

  1. Name: Naim
    https://www.prothomalo.com/sports/z0o60y1crn
    https = protocol
    www = host
    prothomalo = domain name
    .com = commercial domain type
    sports = directory path

    ReplyDelete
  2. URL: https://github.com/hind-sagar-biswas/kbcQuizzo/blob/main/index.html
    https : protocol
    github : domain name
    .com : domain type
    kbcQuizo, blob, main : directories
    index.html : web documents

    ReplyDelete
  3. URL:https://khalidsliterature.blogspot.com/2022/07/what-is-web-url.html
    https:protocol
    khalidsliterature: subdomain(maybe 🤔)
    blogspot: domain
    com: domain type
    2022/07: directory
    what-is-web-url.html: web document

    ReplyDelete
  4. URL:https://mahfuzulhasan.000webhostapp.com/main_files/Home.html
    https:protocol
    mahfuzulhasan: subdomain name
    000webhostapp: domain name
    com: domain type
    main_files: directory
    home.html: web document

    ReplyDelete
  5. https://mahfuzulhasan.000webhostapp.com/main_files/home.html
    https:protocol
    mahfuzulhasan: subdomain name
    000webhostapp: domain name
    com: domain type
    main_files: directory
    home.html: web document

    ReplyDelete
  6. Shojib Hossain
    https://www.asianapparels.com/apartment
    http= protocol
    www= host
    asianapparels= domain name
    com= domain type
    apartment= web documents

    ReplyDelete
  7. Name: Shehab
    URL: https://9anime.to/home
    https: protocol
    9anime: domain name
    .to: domain type
    home: directory

    ReplyDelete
  8. https://www.apple.com/iphone-13/key-features/
    http= protocol
    www= host
    apple= domain name
    .com= domain type
    iphone-13= directory
    key-features= web documents

    ReplyDelete
  9. Name : Md.Rifat Billah
    https://khalidsliterature.blogspot.com/2022/07/what-is-web-url.html
    https: protocol
    khalidsliterature : sub domain
    blogspot : domain name
    .com : domain type
    2020/07/:path
    what-is-web-url.html : web document
    .html : document type

    ReplyDelete
  10. Name: Mrinmoyee Mahbuba Ghani
    https://www.vivo.com/vivo v23/key-features/
    https: protocol
    www: host
    vivo: domain name
    .com: domain type
    vivo v23: directory
    key-features: web documents

    ReplyDelete
  11. Name: Farjana Wahid
    https://www.apple.com/iphone-8plus/key-features
    https: protocol
    www: host
    apple: domain name
    .com: domain type
    iphone-8plus: directory
    Key-features: web documents

    ReplyDelete
  12. Name:Daniel
    https://www.espncricinfo.com/
    https=protocol
    www=host
    espncricinfo=domain name
    .com=domain type

    ReplyDelete
  13. Name:Daniel
    URL=https://m.cricbuzz.com/cricket-commentary
    Protocol=https
    Host=www
    Domain name=cricbuzz
    Domain type=.com
    Web Document=cricket-commentary

    ReplyDelete
  14. Name:Alvi
    URL:https://khalidsliterature.blogspot.com/2022/07/what-is-web-url.html
    https:protocol
    blogspot: domain
    com: domain type
    2022/07: directory
    what-is-web-url.html: web document

    ReplyDelete