<!DOCTYPE html> <html> <body> <p>form attribute in the input element associates it with the form</p> <form action="files/formtag.php" method="post"> Candidate name: <input type="text" name="cname"><br> Email: <input type="Email" name="cemail"><br> Password: <input type="password" name="pass" ><br> <input type="submit" name="submit"> </form> </body> <html>
Run
×
Share