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

form Tag in HTML 5

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

<form> .... </form>

For example:-

<!DOCTYPE html>
   <title>Form Tag</title>
    <form name"register" action="" method="post">
         <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">

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.