How to validate a form in HTML5

1 Answer

0 votes
<html>
<head>
<title>Form Validation With JavaScript</title>
</head>

<body>
  <form name="formname" action="add-user.php" method="post">
    Name: <input type="text" name="firstname" required>
    <input type="submit" value="Submit">
</form>
</body>
</html>



answered Jun 28, 2015 by avibootz

Related questions

...