Form Validation 8

 <html>

<body>

<p>A form with a password field that must contain 8 or more characters:</p>

<form action="/action_page.php">

  <label for="pwd">Password:</label>

  <input type="password" id="pwd" name="pwd" pattern=".{8,}" title="Eight or more characters">

  <input type="submit">

</form>

</body>

</html>


Comments

Popular posts from this blog

Important Questions for XII

Sample Question Bank Grade 12

Question Collection-11