Computer Science, asked by uddhav29, 10 months ago

how can we link webpages in html ? what are different type of linking​

Answers

Answered by SainaPaswan
29

Linking in HTML code is done with the anchor tag, the <A> tag. The letter "A" in the tag is then followed by an attribute. For a link to another web page, the "A" is followed by "HREF". To set a bookmark in the same page, the "A" is followed by "NAME", which you'll see how to do later.

Answered by KailashHarjo
5

We can link webpages in HTML using the anchor tag (<a>) and its href attribute. The value of the href attribute is the URL of the page you want to link to.

The different types of linking are:

  • Internal Linking: This is used to link different pages within the same website.
  • External Linking: This is used to link to a page on a different website.
  • Email Linking: This is used to create a link to send an email. The link is created using mailto: followed by the email address.
  • File Linking: This is used to link to a file such as a PDF or Microsoft Word document.
  • Anchor Linking: This is used to link to a specific section within a page. The target section is given an id attribute, and the link is created using the href attribute with the id preceded by a hash symbol (#).

#SPJ3

Similar questions