Create a Form Element

What is Form Element:-
A form is a document with spaces (also named fields or placeholders) in which to write or select, for a series of documents with similar contents.
An HTML form element is any element that may be used inside of a <form> tag. These elements, along with the unique and standard attributes, give a form its structure as well as let it know what to do with the data input by users. Here you can learn how to create a form with html.



For Example:

<html>
<head>
<title> your web page title name </title>
</head>
<body>
<h1> This is your Form </h1>
<form>
<label for ="name">First Name</label>
<input type="text" name="name">
<label for ="Last Name">Last Name</label>

<input type="text" name="Last Name">
<label for ="Phone">Phone</label>

<input type="Phone" name="Phone">
<label for ="email">Email</label>

<input type="email" name="email">
</form>
</body>
</html>


Output:















Please Share To Other:

Post a Comment

0 Comments