password length validation in website code example Example: html add password <input type="password" name="password">