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 :
Redmi Pad 2 Wi-Fi + Cellular, Active Pen Support, 27.94cm(11") Model, 2.5K Sharp & Clear Display, 8GB, 256GB, All Day & More 9000mAh Battery, AI-Enabled, Dolby Atmos, HyperOS 2, Graphite Grey
₹20,999.00 (as of July 7, 2026 00:27 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 Galaxy Tab S10 Lite with AI [Smartchoice], S Pen in-Box, 27.7 cm (10.9 Inch) Display, Object Eraser, 90Hz Refresh Rate, IP42 Rating, 6GB RAM, 128GB Storage, Wi-Fi Tablet, Gray
₹34,499.00 (as of July 7, 2026 00:27 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.)Portronics Mport 8 Plus Dual Plug 8-in-1 Docking Station/Hub with AUX, USB 3.0, microSD/SD Card Reader, Type-C Data, USB 2.0, Type-C and USB Plug for Laptop, Mac, PC (Grey)
₹604.00 (as of July 7, 2026 00:27 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)
₹149.00 (as of July 7, 2026 00:27 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.)Apple iPad 11″: A16 chip, 27.69 cm (11″) Model, Liquid Retina Display, 128GB, Wi-Fi 6, 12MP Front/12MP Back Camera, Touch ID, All-Day Battery Life — Blue
Now retrieving the price.
(as of July 7, 2026 00:27 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.)Novel Baby Wet Wipes 72 Wipes x Pack of 3 (216 Wipes) | Aloe Vera, Chamomile, Vitamin E Enriched | pH Balanced, Alcohol, Hypoallergenic & Paraben-Free | Soft Gentle Baby Wipes with Lid
₹199.00 (as of July 7, 2026 01:17 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
₹473.00 (as of July 7, 2026 01:17 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.)Mee Mee Baby Liquid Detergent 1 L | pH Balanced, Free from Harsh Chemicals, Safe for Mother’s Hands & Baby’s Skin | Anti-Bacterial, Removes Stains & Odor with One Drop, Hypoallergenic | Mild Scent
₹225.00 (as of July 7, 2026 01:17 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, (M) 76 Count, Anti-rash blanket, Lotion with Vitamin E & Aloe Vera, Medium, 7-12kg
₹711.00 (as of July 7, 2026 01:17 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.)Himalaya Gentle Baby Wash 400ml with Chickpea, Fenugreek|pH 5.5|No.1 Doctor Recommended brand|100% Soap free Gentle cleanser for skin & hair|Tear free|Safe for Newborns|Skin Microbiome - friendly|Hypoallergenic
₹196.00 (as of July 7, 2026 01:17 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.)Himalaya Gentle Baby Soap for Newborns | No Post Bath Dryness | B3G1 FREE - 125g | Gentle Cleansing With Phyto-Oil Complex of 100% Natural Oils of Almond & Olive| #1 Doctor Recommended Brand
₹259.00 (as of July 7, 2026 01:17 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.)One94Store Astronaut Galaxy Projector Night Light – 360° Rotating Nebula Star Projector with Remote Control, Timer & Adjustable Head – Space Lamp for Kids’ Bedroom, Gifts, Gaming Room, Home & Décor
₹649.00 (as of July 7, 2026 01:17 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 M 54 Count | No Marks Design | Voted India’s #1 Softest Diaper | All in 1 diaper with 360 Cottony Softness
₹693.00 (as of July 7, 2026 01:17 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.)Himalaya Botanique Baby Wash & Shampoo 100 ml | Organic | Preserve Moisture Lock| No Tears | Dermatologically Tested | Helps Protect Skin Barrier | pH 5.5 | Hypoallergenic | No Added Fragrance
₹279.00 (as of July 7, 2026 01:17 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 Skin Breathe Care | Baby Diapers Extra Large Size (XL) | 80 Count | 12-17Kgs | Half Skin Touch Airy Sheet | 3X Breathable | Derma Tested
₹1,590.00 (as of July 7, 2026 01:17 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.)Gear Vintage 2 Faux Leather(Without Antitheft) 19"/34L Large Water Resistant Laptop Backpack/Casual Backpack/Daypack/Travel Backpack/College Bag For Men/Women(Black-Brown)
Now retrieving the price.
(as of July 7, 2026 00:27 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.)