Il target e` un attributo deprecato (e nelle DTD piu` moderne non esiste piu`)

Se vuoi comunque percorrere la strada target, ti sposto in HTML, se vuoi la strada "nuova" ti sposto in JS.