The link - business not artful
In general that such the link is what one site manages. In this clause{article} it will be told about many opportunities of links. Naturally in many tutorials already all have been explained in parts, but it is necessary to disassemble all together and briefly to tell about each effect. Well we shall start....
In general the link represents a kind <a href = "vash_put`"> the Name of a site </a>, but how much it is possible to create with it? The answer: it is A lot of!
Many saw, that at prompting on the link the help to this link can sometimes get out, all is done{made} on means tega title.
Example:
<a href = " http: // www.wmaster.ru " title = " a class site "> the Site for a web of masters </a>
Well and if you have put the link to graphic object then will help teg "alt". All need to be made also, but for a place "title" to enter "alt".
<a href = " http: // www.site.ru "> <img border = "0" src = " http: // www.site.ru/img.gif " alt = " your text "> </a>
Pay attention to that "title" we wrote the description in tege <a> while "alt" it is necessary to write the description in tege <img>
That the link changed the color at prompting for it{her} a mousy, it is convenient for us to apply CSS. That such effect we was formed should register on a page so:
<style> A:hover {COLOR: *jbJU color} </style>
Sometimes the design does not allow " to hold on a site " underlined sslyki. That links have not been underlined, it is necessary to register on a page:
<style> a {text-decoration: none} </style>
But it is possible to make and so that the link has not been underlined, but at prompting the cursor she was emphasized. For this purpose register so:
<style>
a {text-decoration: none}
a:hover {text-decoration: underline}
</style>
More full variant of management of links to page:
<style>
A:link {text-decoration: underline; color:black;}
A:active {text-decoration: underline; color:black;}
A:visited {text-decoration: underline; color:black;}
A:hover {text-decoration: none; color:black;}
</style>
The described styles are recommended to be inserted between tegami <HEAD> </HEAD>.
Like the most important effects with use CSS I have described. Now it is possible to disassemble one more kind of links is an anchor, the internal link to any part of page. The anchor is put so:
<a href = " * link "> the Text </a>
And on that place where the link should result is put:
<a name = "link"> Text </a>
Also the link can conduct simply upward. It is necessary for those who builds the big pages. That the link conducted on the beginning of page, it is necessary to register so:
<a href ='javascript:scroll (0,0); '> Top/upwards </a>
Well. About links I have told the most important.

|