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 :
STRIFF Adjustable Laptop Tabletop Stand Patented Riser Ventilated Portable Foldable Compatible with MacBook Notebook Tablet Tray Desk Table Book with Free Phone Stand (Black)
₹240.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.)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.)SANDISK Cruzer Blade 32GB, USB 2.0, Flash drive, Pendrive, Red, 5Y Warranty (SDCZ50-032G-I35)
₹649.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.)Dyazo 6 Angles Adjustable Aluminum Ergonomic Foldable Portable Tabletop Laptop/Desktop Riser Stand Holder Compatible for MacBook, HP, Dell, Lenovo & All Other Notebook (Silver)
₹349.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.)HANUSH 100% Organic Muslin Cotton Baby Bath Towel (Pack of 3) | 75 * 75 cm | Newborn Swaddle Wrap | Highly Absorbent Ultrasoft Breathable Lightweight Towels for Infants, Toddlers, Boys & Girls
₹499.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.)Little Angel Baby Easy Dry Diaper Pants With 12 Hrs Absorption Medium (M) Size 72 Count, 7-12 Kgs - M (72 Pieces)
₹521.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.)Huggies Complete Comfort Wonder Pants | Pant Style Baby Diapers Extra Large Size (XL), 56 Count | India's Fastest Absorbing Diaper, Prevents Diaper Rash, Ideal for 12 to 17 Kgs
₹716.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.)KORX Foldable Baby Mosquito Net for Bed, 0-36 Months (White Grey) | Pop-Up Portable Design, Ruffled Border, Bottomless Net, 0-36 Months, For Newborns & Infants
₹398.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.)Pampers Premium Care Pant Style Baby Diapers L 88 Count | No Marks Design | Voted India’s #1 Softest Diaper | All in 1 diaper with 360 Cottony Softness
₹1,851.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.)AXMON® Baby Carrier Sling Bag for 8 Months to 4 Years, Up to 20 kg | DOUBLE Locking SAFETY System, Premium Metal Adjuster & Metal Rectangular Ring, 1 YEAR WARRANTY, SAFEST Baby CARRIER
₹699.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.)ORIMII Nurture + Soothe Nipple Butter & Breastfeeding Nipple Cream, Food-Grade Ingredients, Safe on Baby’s Skin, No Need to Wipe Off Before Feeding, Lanolin-Free, Soothes Soreness & Repairs Cracks, 25ml
₹327.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.)5-Meter Edge Protector, Baby Proofing Edge Protector Strip for Baby, Child Proof Table Edge Protectors Guards Safety Bumper Cover for Furniture Desk Crib Gate Bed Wall Soft Silicon
₹499.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.)MamyPoko Pants Extra Absorb Baby Diapers, Large (L size) | 9-14 kg | 64 Count |Deep Sleep Diapers| Soft gentle fit |Deep Absorbent Crisscross | skin friendly with coconut oil |
₹719.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.)Pampers Complete Skin Comfort Pants, (XL) 56 Count, Anti-rash blanket, Lotion with Vitamin E & Aloe Vera, Extra Large size baby diapers, 12-17kg
₹893.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.)SANDISK Cruzer Blade 32GB, USB 2.0, Flash drive, Pendrive, Red, 5Y Warranty (SDCZ50-032G-I35)
₹649.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.)SANDISK Ultra Dual Drive Go Type-C 128GB, OTG, Upto 400MB/s, Pendrive, Black, 5Y Warranty (SDDDC3-128G-I46PD)
₹1,899.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.)Ambrane Unbreakable 3A Fast Charging 1.5m Braided Type C Cable for Smartphones, Tablets & other Type C devices, 480Mbps Data Sync, Quick Charge 3.0 (RCT15A, Black)
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.)