javascript anchor onclick to top of page code example Example: stop anchor tag scroll to top of page <a href="#!">Link</a>