piffy

Form Elaborato

Aug 4th, 2021
596
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="it" xmlns="http://www.w3.org/1999/html">
  3. <head>
  4.     <link rel="stylesheet" href="form.css">
  5.     <meta charset="UTF-8">
  6.     <title>Form</title>
  7. </head>
  8. <body>
  9. <form id='esempio' method='get' action='' >
  10.     <p><label for="Nome">Nome: </label><input type='text' id='Nome' name='Nome' /></p>
  11.     <p><label for="Email"> Email: </label> <input type='text' id='Email' name='Email' /></p>
  12.     <p><label for="pw">Password:</label> <input type='password' id='pw' name='pw'></p>
  13.     <p><label for="paese">Paese</label><br>
  14.         <select id="paese" name="paese">
  15.             <option value="I">Italia</option>
  16.             <optgroup label="Estero">
  17.                 <option value="D">Germania</option>
  18.                 <option value="D">Francia</option>
  19.             </optgroup>
  20.         </select><br></p>
  21.  
  22.     <p>Sesso<br>
  23.         <input type="radio" name="sesso" value="M" id="M"> <label for="M">M</label><br>
  24.         <input type="radio" name="sesso" value="F" id="F">  <label for="F">F</label><br>
  25.         Hobby<br>
  26.         <input type="checkbox" name="hobby" value="S" id="S"> <label for="S">Sport</label><br>
  27.         <input type="checkbox" name="hobby" value="L" id="L"> <label for="L">Lettura</label><br>
  28.         <input type="checkbox" name="hobby" value="C" id="C"> <label for="C">Cinema</label><br>
  29.         <input type="checkbox" name="hobby" value="I" id="I"> <label for="I">Internet</label><br>
  30.     </p>
  31.  
  32.     <p><label for="commento">Commento</label><br>
  33.         <textarea id="commento" name="commento" rows="5" cols="30"></textarea>
  34.     </p> <p>
  35.     <input type='submit' name='Submit' value='Invia!' />
  36.     <input type='reset' name='Reset' value='Azzera' />
  37.     <input type='button' name='Speciale' value='Azione speciale' />
  38. </p></form>
  39. </body>
  40. </html>
RAW Paste Data