How to insert a link to the site?

If you are creating your site on the Internet, sooner or later you will need to learn how to insert links to it. Let's talk in detail how to insert a link to the site, what you need for this.

If you want to insert in your text a link toanother site, you can just copy the address from the address bar and put a space. After that, the link is recognized and highlighted in a separate color. This method is good if you need to insert a short link that does not take up much space. An example of how this link will look like: "Details can be found on the site http://elhow.ru".

If the link is long, then look in the text itwill be "hard" and bad, so you can "hide" for a certain word, clicking on which, the person will get to the desired page of the site. When editing a document, select the desired text section (word or several words) and enclose in this code <a href="advertress"> the selected word </a>. The word to which the link will be attached must be in place of the "selected word" and the link itself in the "link address". An example of how it will look like: "How to insert a link to the site, you will learn here."

How to place links on sites in the form of pictures? To do this, use the following code:

<a href="http://........."> <img src = "/images/http://..........jpg" /> </a>. Where http: // .........., Should be the right link. Where "http: //..........jpg" should be the address of the image on the Internet.

You can also perform various operations with links, for example, here are these:

  1. To open the link in a new window, you need the following command:
    <a href = "http: // ................" target = "_ blank"> write the word followed by the link </a>
  2. To mark the underline of the link, you must enter the following:
    <a href = "http: // ............." style = "text-decoration: none;"> write the word followed by the link </a>
  3. To comment on the link, write the following:
    <a href="http://.............." title="Comment""> write the word followed by the link </a>

That's how you can place a link to the site for free, knowing only the necessary commands and tags.

Related news

How to insert a link to the site How to insert a link to the site How to insert a link to the site How to insert a link to the site How to insert a link to the site How to insert a link to the site How to insert a link to the site How to insert a link to the site How to insert a link to the site How to insert a link to the site