Features of links « upwards pages »
When the size of page surpasses some limit, developers often put below the text or graphic link « upwards pages ». This link allows to proceed{pass} quickly in the beginning of page, that sometimes it happens very conveniently.
Classically similar link is imposed so:
<a name = "top"> … </a>
…
It is many - many text
…
<a href = " * top "> upwards pages </a>
Lack of this method is that it is necessary to place any element at the top of page in an anchor (<a name = "top">) as some browsers do not understand empty anchors. Besides at transition to an anchor in Internet Explorer the name of page in heading of a browser disappears, and button Back not absolutely logically works.
But it is possible to get rid of these problems, having outwitted a browser. For this purpose simply enough to specify the empty link <a href = "*"> upwards pages </a>, not setting any anchors. The browser without superfluous meditations will scroll page upwards. I have specially seen in the specification, that she has to say on this bill, but has not found any instructions{indications} as UA should operate in a situation when the name of an anchor is not specified. It is good, that in this not documentary behaviour absolutely all browsers show unanimity.
At last, it would be desirable to specify one more way of installation of the link « upwards pages ». He is based on JavaScript and does not cause any by-effects:
It is many - many text
…
<a href = " javascript:scroll (0,0) "> upwards pages </a>
Here the method window.scroll (x, y) which allows to waste page on the specified quantity{amount} piskelov across (x) and verticals (y) has been used. If we shall null these two parameters the status kvo - page proskrolitsja in the beginning will be restored.
At last I shall say, that I usually adhere to last offered{suggested} method which works in overwhelming majority of browsers and thus is not based on any non-standard "features".
P. S. As has correctly prompted Nikolay Merkin, the most compatible decision will be such variant:
<a href = "*" onClick = " scroll (0,0); return false " title = "upward"> upwards pages </a>

|