Hi, folks today we are going to see how to create a contact form using HTML.
<div class="container">
<form action="action.jsp">
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" />
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" />
<label for="Hobbies">Hobbies</label>
<select id="hobbies" name="hobbies">
<option value="cricket">Cricket</option>
<option value="music">Music</option>
<option value="drawing">Drawing</option>
</select>
<label for="subject">Subject</label>
<textarea id="subject" name="subject" style="height:200px"></textarea>
<input type="submit" value="Click Me">
</form>
</div>
Output :
Portronics Bubble 3.0 Wireless Keyboard with Bluetooth + 2.4 GHz USB Receiver, Rechargeable Battery, Dual Height Adjustment, Multimedia Hotkeys with Numpad, for Laptop, PC, Smartphone, Tablet(White)
₹999.00 (as of November 18, 2026 14:21 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)STRIFF World Map Extended Gaming Mouse Pad | Desk Mat - 800 x 300 x 2 mm | Desk Mat with Stitched Edges Non-Slip Suede Base Waterproof Surface for Computer, Laptop Keyboard Mouse Pad for Office & Home
₹229.00 (as of November 18, 2026 14:21 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)TECHNOVIBES Foldable Study Table/Bed Table/Foldable and Portable Wooden/Writing Desk for Office/Home/School (Black with Black Leg)
₹948.00 (as of November 18, 2026 14:21 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)SaleOn 8.3X5 Inch Portable Storage Organizer for USB Cable, Earphone, Power Bank,Charger, Hard Disk & Digital Gadgets, with Mesh Pockets Size 21X12Cm Inside's Material and Color May Vary, Black
₹298.00 (as of November 18, 2026 14:21 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Samsung Original Type C to C Cable - 3.28 Feet (1 Meter), Black
₹290.00 (as of November 18, 2026 14:21 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Kidology Baby Teether Toys for 3-18 Months | Remote & Mobile Phone Shape Teething Toy Set, Pink | Food-Grade BPA-Free Silicone Chew Toy | Baby Phone Toy for Teething Relief, Boys & Girls
₹549.00 (as of November 18, 2026 14:21 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)TEDDYY Easy Baby M Size Diaper Pant Style | 74 Count (Medium) | 7–12 kg (Pack of 1) | Long Protection Hours | Anti-Bacterial | Airy Breathable Fit | Rapid Soaker Channels with Wetness Indicator
Now retrieving the price.
(as of November 18, 2026 14:21 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)