FORM (<form>) Tag

by Jai 06-Jul-19

0 624

The <form> tag use an HTML form to pass user data to specified URL. An HTML form is used to capture user information such as username, password, address details, and many more information.

The <form> tag can contain more tag like <input>, <textarea>, <button>, <select>, <option>, <optgroup>, <fieldset>, <label>, <output>, <legend>.

HTML form facilitates the user to enter data that is to be sent to the server and store in database.


<!DOCTYPE html>
<title>HTML form Tag</title>
<form action="#">
First name: <input type="text" name="FirstName" placeholder="Enter FirstName" value="codingtag"><br>
Last name: <input type="text" name="LastName" placeholder="Enter LastName" value="com"><br>
<input type="submit" value="Submit">


FORM (<form>) Tag


Leave a Reply

    Waiting for your comments