Computer Science, asked by nirjalagupta24, 14 days ago

what is URL and it's type​


Answered by sandhuhirdaypal25


A Uniform Resource Locator (URL), colloquially termed a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier (URI), although many people use the two terms interchangeably.


Thank my answers ❤️

Answered by SweetPoison7




  • \tt\huge\bold\blue{Definition}

URLs (Uniform Resource Locators) or Resource Locators are unique addresses used to locate a Web page and its contents on a network serve.A relative URL points to a file/directory in relation to the present file/directory.

  • \tt\huge\bold\blue{Types}

They have short urls as they are referring to root directory/subdirectory.Relative urls helps webmaster to maintain the site without rewriting the whole path again and again if they had made any changes in directory.

eg : ../image/welcome.gif is a relative url (The initial two peroids (..) in the url instruct the server to move up one directory (which is the root directory), then enter images directory and finally point at welcome.gif file )

Relative urls are to used wisely otherwise an error may occur and the intended file may not open.Relative URLs are short and does not require to write whole path so due to its short typein nature they are more popular and are commonly used by webmasters.


Similar questions