Advertisement
Guest User

zad 8/ urok 1

a guest
May 21st, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7.     <title>Forms</title>
  8. </head>
  9. <body>
  10. <form>
  11.     <fieldset>
  12.         <legend>Customer Details </legend>
  13.     <p>
  14.         <label for="firstName" id="firstName">First Name
  15.             <input autofocus type="text" placeholder="George">
  16.         </label><br>
  17.     </p>
  18.     <p>
  19.         <label for="lastName" id="lastName">Last Name
  20.             <input autofocus type="text" placeholder="Devis">
  21.         </label><br>
  22.     </p>
  23.  
  24.         <label>
  25.             <p>
  26.             <input type="radio" name="gender" value="male"> Male
  27.             <input type="radio" name="gender" value="female"> Female
  28.             <input type="radio" name="gender" value="other"> Other
  29.             </p>
  30.         </label>
  31.  
  32.         <label>
  33.             <p>
  34.                 Preferred contact method:
  35.                 <input type="radio" name="contact" value="mail"> Email
  36.                 <input type="radio" name="contact" value="phone"> Phone
  37.             </p>  
  38.         </label>
  39.  
  40.     <p>
  41.         <label for="emial" id="email">Email
  42.             <input autofocus type="text" placeholder="your@email.com">
  43.         </label><br>
  44.     </p>
  45.     <p>
  46.         <label for="phone" id="phone">Phone
  47.             <input autofocus type="number" placeholder="+359885236225">
  48.         </label><br>
  49.     </p>
  50.     <p>
  51.         <label for="town">Town
  52.             <select id="town" name="town">
  53.                 <option value="Varna">Varna</option>
  54.                 <option value="Plovdiv">Plovdiv</option>
  55.                 <option value="Burgas">Burgas</option>
  56.                 <option value="Sofia">Sofia</option>
  57.                 <option value="Pleven">Pleven</option>
  58.             </select>        
  59.         </label>
  60.     </p>
  61.        
  62.     <p>
  63.         <label for="age" id="age">Age
  64.             <input type="number" id="age" name="age"
  65.             min="18" max="70">
  66.         </label>
  67.     </p>
  68.  
  69.     <p>
  70.         <label for="language">Programming language
  71.             <input type="text" name="language" id="language" list="languages_type">
  72.             <datalist id="languages_type">
  73.                 <option>Java</option>
  74.                 <option>PHP</option>
  75.                 <option>C#</option>
  76.                 <option>JavaScript</option>
  77.                 <option>Python</option>
  78.                 <option>Ruby</option>
  79.                 <option>Other</option>
  80.             </datalist>        
  81.         </label>
  82.     </p>
  83.  
  84.     <p>
  85.         <label>
  86.             <textarea rows="5" cols="20">More information...
  87.             </textarea>
  88.         </label>
  89.     </p>
  90.  
  91.     <p>
  92.         <input type="checkbox" id="check" name="check" checked>
  93.         <label for="check">I agree the Terms and Conditions </label>
  94.     </p>
  95.          
  96.     <p>
  97.         <label>
  98.          <input type="submit" value="Send">
  99.         </label>
  100.     </p>  
  101.  
  102.     </fieldset>
  103.    
  104. </form>  
  105. </body>
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement