How to make a basic HTML Form!๐ฏ
<html>
Hello World! Today we are going to talk about the basic yet the most important tag we all might have come across while starting our web development journey with HTML5 that have made us go "HTML can do that?!?!" ๐คฏ
So let us take a lot at it!๐
An HTML form is designed to take inputs or submissions from the user.
The basic syntax of the <form> is :
<form>
.
form elements
.
</form>
Let us look at the INPUT TYPES in HTML5 :
-
<input type="text"> <input type="submit"> <input type="radio"> <input type="checkbox"> <input type="button"> <input type="color"> <input type="date"> <input type="datetime-local"> <input type="email"> <input type="file"> <input type="hidden"> <input type="image"> <input type="month"> <input type="number"> <input type="password"> <input type="range"> <input type="reset"> <input type="tel"> <input type="url"> <input type="week"> <input type="time"> - The default value of the [type] attribute is โtext.โ
(source : w3schools.com)
6
