Home >> HTML 5 >> form Tag in HTML 5

form Tag in HTML 5

The <form> tag is used to create an HTML form.

Syntax:
<form> .... </form>

For example:-

<!DOCTYPE html>
<html>
<head>
   <title>Form Tag</title>
</head>
<body>
    <form name"register" action="" method="post">
       <fieldset>
         <legend>Personal Detail:</legend>
         <label for="name">Name:</label>
         <input type="text" id="name" name="name">
         <label for="email">Email:</label>
         <input type="email" id="email" name="email">
         <label for="mobile">Mobile No.:</label>
         <input type="text" id="mobile" name="mobile">
         <input type="submit" value="Submit">
      </fieldset>
    </form>
</body>
</html>

Post Your Comment

Next Questions
frame Tag
frameset Tag
Heading Tag
head Tag
header Tag
hr Tag
html Tag
i Tag
iframe Tag
img Tag
input Tag
ins Tag
kbd Tag
label Tag
legend Tag
li Tag
link Tag
ul Tag
video Tag
wbr Tag

Copyright ©2022 coderraj.com. All Rights Reserved.