Computer Science, asked by varunthegreatest, 10 months ago

differentiate between absolute and relatine URL? it is a 5 mark question pls answer.

Answers

Answered by jivanshi
3

Hey mate here is your answer

Follow me

Answer:

An absolute URL contains more information than a relative URL. Relative URLs are more convenient because they are shorter and often more portable. However, you can use them only to reference links on the same server as the page that contains them.

Answered by girlinblue1021
3

Answer:

ABSOLUTE URL:

  • An absolute URL is a ‘full’ URL or one that contains the entire address of the page. For example, “http://yourwebsite.com/images/logo.png”. - See more at: https://www.carbon8.com/blog/july-2017/the-difference-between-absolute-and-relative-urls#sthash.BaKiGYnx.dpuf
  • An absolute URL contains more information than a relative URL does

RELATIVE URL:

  • The relative URL, on the other hand, does not use the full address. It assumes that the page you type in is on the same site. An example of a relative URL would look like this:  <a href = "/xyz.html">
  • A relative URL contains less info.
Similar questions