<!--
action="index.php" = Inside action we set the name of the php page where we submit the HTML Form.
If we don't put anything inside action therefore action="" that means, we are submitting the page to that page itself
-->
<!--
There are two methods
GET = Sends Data Faster, Data is visible from Address Bar, not much Secure, Has limitation on Data that is sent.
POST = Sends Data a bit slower than GET, Huge data can be sent, You can upload File using POST, Secure way of transferring data from Client PC to Server
-->
Welcome to the Registration Form: <br><br>
<form name="registration" action="" method="post" enctype="multipart/form-data" >
<!-- RADIO BUTTON -->
Gender:
<input type="radio" name="gender" value="male">Male
<input type="radio" name="gender" value="female">Female<br>
<br>
<!-- CHECK/TICK BUTTON -->
Choose Product:
<input type="checkbox" name="item1" value="mobile">Mobile
<input type="checkbox" name="item2" value="laptop">Laptop<br>
<br>
<!-- SELECT AND OPTIONS - BUTTON -->
Country:
<select name="country">
<option value="1">BD</option>
<option value="2">Not BD</option>
</select>
<br>
<br>
<!-- TEXT TYPE INPUT FIELD -->
Username: <input type="text" name="userNAME" placeholder="Put your Username" required /><br><br>
<!-- PASSWORD TYPE INPUT FIELD -->
Password: <input type="password" name="passWORD" required /><br><br>
<!-- EMAIL TYPE INPUT FIELD -->
Email Address: <input type="email" name="emailADDRESS" required /><br><br>
<!-- NUMERIC TYPE INPUT FIELD -->
Zip Code: <input type="number" name="zipCODE" min="1000" max="9999" required ><br><br>
<!-- DATE TYPE INPUT FIELD -->
Date of Birth: <input type="date" name="dateofBIRTH" max="2014-11-30"><br><br>
<!-- COLOR TYPE INPUT FIELD -->
Color you Like: <input type="color" name="myCOLOR" value="#ff0000"><br><br>
Upload your Photo: <input type="file" name="my_photo" /><br><br>
<br>
<input type="submit" value="Press Enter" name="submit" />
</form>
action="index.php" = Inside action we set the name of the php page where we submit the HTML Form.
If we don't put anything inside action therefore action="" that means, we are submitting the page to that page itself
-->
<!--
There are two methods
GET = Sends Data Faster, Data is visible from Address Bar, not much Secure, Has limitation on Data that is sent.
POST = Sends Data a bit slower than GET, Huge data can be sent, You can upload File using POST, Secure way of transferring data from Client PC to Server
-->
Welcome to the Registration Form: <br><br>
<form name="registration" action="" method="post" enctype="multipart/form-data" >
<!-- RADIO BUTTON -->
Gender:
<input type="radio" name="gender" value="male">Male
<input type="radio" name="gender" value="female">Female<br>
<br>
<!-- CHECK/TICK BUTTON -->
Choose Product:
<input type="checkbox" name="item1" value="mobile">Mobile
<input type="checkbox" name="item2" value="laptop">Laptop<br>
<br>
<!-- SELECT AND OPTIONS - BUTTON -->
Country:
<select name="country">
<option value="1">BD</option>
<option value="2">Not BD</option>
</select>
<br>
<br>
<!-- TEXT TYPE INPUT FIELD -->
Username: <input type="text" name="userNAME" placeholder="Put your Username" required /><br><br>
<!-- PASSWORD TYPE INPUT FIELD -->
Password: <input type="password" name="passWORD" required /><br><br>
<!-- EMAIL TYPE INPUT FIELD -->
Email Address: <input type="email" name="emailADDRESS" required /><br><br>
<!-- NUMERIC TYPE INPUT FIELD -->
Zip Code: <input type="number" name="zipCODE" min="1000" max="9999" required ><br><br>
<!-- DATE TYPE INPUT FIELD -->
Date of Birth: <input type="date" name="dateofBIRTH" max="2014-11-30"><br><br>
<!-- COLOR TYPE INPUT FIELD -->
Color you Like: <input type="color" name="myCOLOR" value="#ff0000"><br><br>
Upload your Photo: <input type="file" name="my_photo" /><br><br>
<br>
<input type="submit" value="Press Enter" name="submit" />
</form>
Post a Comment