Welcome Guest! (App Version 3.1)
IntroductionHTML Tutorial What is HTML? My First Program in HTML Doctype Block Elements in HTML Inline Elements in HTML
Box ModelWhat is Box Model Content in Box Model Padding in Box Model Border in Box Model Margin in Box Model
HTML TagsDiv Tags H1 to H6 Tags Paragraphs Tags Span Tags Bold Tags Italic Tags
HTML UtilitiesAdding Images Adding Hyperlinks Adding Comments Types of Lists Tables Iframes Breaking Lines Horizontal Line
FormsForms in HTML Text-Box Radio Checkbox Select and Option Text Area Button Submit
HTML 5What is new in HTML5 Syntax Changes New Elements & Properties Semantic Tags New Elements New Input Types Graphics Support Canvas SVG Media Support Audio Video Client Side Storage Local Storage Session Storage Indexed DB Web SQL [dep] Cookies API Support Web Worker Web Sockets Service Worker App Cache [dep] SSE Drag & Drop Geolocation
HTML QuizHTML Quiz 1
Forms are integral part of any website which tends to collect any sort of data from its users. Whether it is Railway Reservation, Plane Reservation or entering a form for Government Vacancy. All require you to enter some data to proceed any further.
Forms are made with the help of form tags and are used for making interactive pages where the users who are coming to the website enter their details such as name, age, gender, city, country, etc. This data is later sent by the form to the back-end database, where the data is saved to be used later.
Forms are best way to receive the personal data from user without much hassle. We will see a simple example of how to make a form in html. Look at the example below:
<form> Name:<input type="text"> Age: <input type="number"> <button type="submit">Submit</button> </form>
1. HTML forms