How To Link

Table of contents:

How To Link
How To Link
Anonim

A "link" is an object that points to certain data, but does not store it. In other words, when you put a link, you literally "link" to any source of information, resource, yours, or a third party. Usually a site consists of many pages, their number can be very different, from ten to ten thousand. In order to somehow structure the information on the site, make it convenient to work with it and link all pages into a single system, html links are needed. Today we will take a closer look at the process of establishing an html link to a site.

How to link
How to link

Instructions

Step 1

Place the link html code on the page. To do this, use the tag. For the tag, set the href = parameter, in the value of which specify the address of the site to which you want to link.

Step 2

After the href = parameter in the tag, specify the text for the link - that is, hide the link behind some words or signs so that it fits into the text. For example, your code might look like this:

Link tex

The general site code might look like this:

Your site name

Content of your site. Header

link tex

Step 3

To link to the html page of your site, replace the address of the third-party site with the address of the page you want to link to. Remember that the page you are linking to must be in the same folder as the main one (if you link on the main page).

Step 4

To make a link to a page in the form of an image (that is, to go to it you will not click the text, but the image), replace the phrase with the html code of the image in the tag around your image.

Step 5

If you want users to be able not only to follow the links to a particular page, but by clicking on them download any files (for example, audio files, attached documents, etc.), then specify the file name in the tag instead of the address. Remember that the downloaded file must be located in the same folder as the page from which you are linking.

Recommended: