<!DOCTYPE html> <html lang="it" xmlns="http://www.w3.org/1999/html"> <head> <link rel="stylesheet" href="form.css"> <meta charset="UTF-8"> <title>Form</title> </head> <body> <form id='esempio' method='get' action='' > <p><label for="Nome">Nome: </label><input type='text' id='Nome' name='Nome' /></p> <p><label for="Email"> Email: </label> <input type='text' id='Email' name='Email' /></p> <p><label for="pw">Password:</label> <input type='password' id='pw' name='pw'></p> <p><label for="paese">Paese</label><br> <select id="paese" name="paese"> <option value="I">Italia</option> <optgroup label="Estero"> <option value="D">Germania</option> <option value="D">Francia</option> </optgroup> </select><br></p> <p>Sesso<br> <input type="radio" name="sesso" value="M" id="M"> <label for="M">M</label><br> <input type="radio" name="sesso" value="F" id="F"> <label for="F">F</label><br> Hobby<br> <input type="checkbox" name="hobby" value="S" id="S"> <label for="S">Sport</label><br> <input type="checkbox" name="hobby" value="L" id="L"> <label for="L">Lettura</label><br> <input type="checkbox" name="hobby" value="C" id="C"> <label for="C">Cinema</label><br> <input type="checkbox" name="hobby" value="I" id="I"> <label for="I">Internet</label><br> </p> <p><label for="commento">Commento</label><br> <textarea id="commento" name="commento" rows="5" cols="30"></textarea> </p> <p> <input type='submit' name='Submit' value='Invia!' /> <input type='reset' name='Reset' value='Azzera' /> <input type='button' name='Speciale' value='Azione speciale' /> </p></form> </body> </html>
Comments