How to insert the link with the name

How to insert the link with the name

Digital Hits: 73

Control facilities text messages on the Internet allow to code the link, hiding it in other element. As a result instead of a direct address other users see only the name of the website, but at click pass to the necessary page. The HTML language allows to insert such link into the text.

Instruction

1. Tags for execution of links can vary, be supplemented. Thanks to additional inserts in the final text there is jewelry and color changes. However all links with the name are based on this tag: <href= "" link address""> name of the link </a>. These simplest codes allow to create the reference highlighted in the color and underlining (color depends on design of the website). The new page will open in the current window.

2. Complicate a task. That the reader not only opened a link, but also remained on the page of your message, add one more tag. The name of the link will be still noticeable among the text, and the address will open in a new window: <href= "" link web address of"" target= "" _blank""> name of the link </a>. The option is convenient at execution of the link in the middle of the message if it is important to you to maintain attention of the reader.

3. In addition issue the link the pop-up comment. The text of your explanation will appear when aiming a mouse at the name of the link. Tags will become complicated to such view: <href= "" your link"" target= "" _blank"" of title= "" comment""> text of the link </a>. As well as in the previous case, a link is opened in a new window.

4. The link with the name coded by these tags is very interesting too: <href= "" address "" style= "" text-decoration: none; color: black;""> name </a>. The name is removed it and color of a font is changed to black. Replace the word black with primary color of a font in the message – the link will become indistinguishable. It is convenient if you want to leave the link imperceptible, just formal.

5. Or color with the name in elaborate colors, having independently selected color of a font and color of underlining: <href= "" address of"" target= "" _blank"" of style= "" color: pink; text-decoration: underline;""> <span style= "" color: green;""> name </span> </a>. In an example the pink text color and green color of underlining is used. Change matching words to the special code or the English names that the link was combined with design of your website.

Author: «MirrorInfo» Dream Team

Print