Technically yes, it should be defined in the page
- but most browsers default to reloading the page (always at the top) when they can't find a bookmark reference
- so doing it the "incorrect" way works
(just not right and not guaranteed to work in the future)
| RE:
| This is the code:
|
| <a href="#top">Go to Top</a>
|
|
| | > Hi,
| > Does anyone know how to create a link or button at the
| > bottom of a page which when clicked takes the reader back
| > to the top of the same page?
|
| Isn't there a point missing, namely that the target "#top" has to be defined
| already by code such as
| <a name="top">text to which you want to locate to, for example a heading</a>
| --
| Cheers,
| Trevor L.
|
|
| I choose Polesoft Lockspam to fight spam, and you?
|
http://www.polesoft.com/refer.html
|
|