Form Tag in HTML || HTML Form Tag

HTML FORM (<form>) Tag


The <form> tag uses an HTML form to pass user data to a specified URL. An HTML form is used to capture user information such as username, password, address details, and much 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 the 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">


Best WordPress Hosting


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price

Leave a Reply

    Waiting for your comments