password validation w3 schools code example Example: html add password <input type="password" name="password">