ciao
leggi questo articolo. C'e' esattamente quello che cerchi
http://www.html.it/guida/html_49.htm

ciao