Computer Science, asked by wwwmanyuha, 10 months ago

3 types of hyperlinks and explain them.

Answers

Answered by kamathankur
2

Answer:

THE THREE TYPES OF HYPERLINKS ARE:

1.Relative Links

A relative link points to a location that is relative to the current page. Having a link to “index.html” is a relative link that points to the “index.html” page in the same directory as the current page. Links can also be made to “../index.html” to go to “index.html” in the parent directory. You can also use links like “../images/mypic.jpg” to find an image in the images directory inside the parent directory of the current page.

2.Site Root-Relative Links

A site root-relative link points to a location that is relative to the root directory of the site. They begin with a slash “/”. Having a link to “/index.html” is a site root-relative link that points to the “index.html” page in the root directory of the site. One common use of this is to have all images in an images directory and then to link to images with links like “/images/mypic.jpg”.

3.Absolute Links

An absolute link is simply one that includes the entire path to the file like “http://www.blahblah.com/news/index.html”. These are generally used for links that need to point to a different site than the one on which your page is located.

Explanation:

THAT'S IT!

THAT'S IT!HOPE IT HELPED

THAT'S IT!HOPE IT HELPEDHAVE A GREAT DAY AHEAD!

Similar questions