non con il solo (x)html.
Ti serve un controllo lato client (js) o server (php, asp ...)

Cyà