Network--Introduction to URL

Good Morning Boys

Web Address is an important way of reaching the web resources available on the WWW.
--------------------------------------------------------------------------
The Google Meet link for this class is:


_______________________________________________

By the end of this session, you will be able to:

  • Understand the purpose and structure of a URL
  • Understand the nuances of a URL 
  • Understand the types of URLs available
  • Apply the learning and identify the URL components.
---------------------------------------------------------------------------------------------------


Web Address (URL)

  • URL stands for Uniform Resource Locator
  • Also known as Universal Resource Identifier
  • Most URLs are Web Addresses, while other type of URLs may be used in a web browser for accessing newsgroups, local files on your computer and other resources.
  • Each resource on the WWW has a unique address.
  • It is made up of several parts, each is separated from the other by a single forward slash(/).

Syntax 
Server or scheme type:// domain name.domain extensions (Host)/path 
-----------------------          -------------------------------------------       -------
           1                                                2                                             3
Eg.        http://www.games.com/game/burger-shop/playNow.html
           ------    --------------------   ---------------------------------------
               1                   2                                 3

1. Name of the Internet server or scheme:

  • Normally represents a type of server and the protocol on the internet
  • Default server is http
  • some of the schemes and services available are:
    • http---------Hypertext Transfer Protocol
    • ftp----------File Transfer protocol
    • file---------File name on your hard drive.
    • gopher-----The Gopher Protocol
    • news-------USENET news
    • mailto-----Electronic mail address
2. Name of the host :

  • consists  of Domain Name, name given to the website
  • last three characters specify type of organization
  • Example ----- www.games.com
         Here,     www---> host
                       games-----> second level domain
                       com------->top level domain

  • Port name is optional so normally we leave it blank.
3. Path:

  • denotes the actual location of the file in the website
  • In the Example:
           http://www.games.com/game/burger-shop/playNow.html

                 /game/burger-shop/ is the path or location of the file playNow.html

Some valid URLs:

  • ftp://host.com
  • mailto:zxc@yahoo.com
  • http//www.stcolumbas.edu.in


Types of URLs
              
ABSOLUTE URL:

  • fully qualified URL
  • specifying the 
    • the service or protocol name
    • the complete host
    • domain 
    • path showing the location of the file.
    • Example:    www.goodfun.com/Art/glasspainting.html
Partial or Relative URL:
  • specifies the location of a resource or file relative to the starting point shown by absolute URL.
  • normally used in hyperlinks, when we want to jump to another page on the same website.
  • Example:    From www.goodfun.com/Art/glasspainting.html  to move to another file PencilSketching.html in the same directory,only PencilSketching.html will be required.

 t

Comments

Post a Comment

Popular posts from this blog

HOLIDAY HW