con html puro non puoi fare ciò. Devi ricorrere al lato server (php o asp)