input type text when clicked it refreshes the site in html code example Example: how to make form not reload page <form onsubmit="return false"> </form>