o usi JS oppure usi un linguaggio lato server solo in html non puoi farlo.