Group Form Elements in HTML Forms

The Web Book

Contact Information


HTML Group Form Elements Example Code

<!DOCTYPE html> <html> <body> <form> <fieldset> <legend>Contact Information</legend> <label>Name:<br> <input type="text" name="name" /></label><br> <label>Email:<br> <input type="text" name="email" /></label><br> <label>Mobile:<br> <input type="text" name="mobile" /></label> </fieldset> </form> </body> </html> Back