how to use form in html with new tags.

<!doctype> <html> <head> <style> label{ float:left; width:110px; //margin:10px; } </style> </head> <body> <form> <fieldset> <legend>Personal Information</legend> <p><label for="name">Enter Name</label> <input type="text" name="name" placeholder="Enter Name"/></p> <p><label for="password">Enter Password</label> <input type="password" name="password" placeholder="Enter Password"/></p> <p><label for="email">Enter Email</label> <input type="email" name="name" placeholder="abc@yahoo.com"/></p> <p><label for="gender">Enter Gender</label> <input type="radio" value="male" name="gender"/>male <input type="radio" value="female" name="gender"/>female</p> <label for="quali">Qualification</label> <input type="checkbox" name="quali" id="quali" value="10th"/>10th <input type="checkbox" name="quali" id="quali" value="10+2"/>10+2 <input type="checkbox" name="quali" id="quali" value="Graduation"/>Graduation <p><label for="country">Select Country</label> <select name="country"> <option value="1">India</option> <option value="2">Pakistan</option> <option value="3">BanglaDesh</option> <option value="4">Canada</option> <option value="5">Australia</option> </select></p> <label for="textarea">Description</label> <textarea cols="26" rows="5"/></textarea><br/><br/> <input type="submit" value="register"/> </fieldset> </form> </body> </html>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.