non c'è bisogno di javascript.
le ancore in html lo permettono.
guarda qui: http://xhtml.html.it/guide/lezione/1...erni-o-ancore/

ciao
popoxxx