Advertisement
fight90

13. Contact Us Form

Dec 18th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.41 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Contact Us</title>
  6.    <style>
  7.        #form
  8.        {
  9.            background: grey;
  10.            display: inline-block;
  11.  
  12.        }
  13.       form span
  14.        {
  15.            display: inline;
  16.           width: 80px;
  17.           background: grey;
  18.           margin: 10px 3px 3px 8px;
  19.  
  20.  
  21.  
  22.        }
  23. form input,form select{
  24.    width: 150px;
  25.     height: 20px;
  26.     margin: 0px 5px;
  27.     box-sizing: border-box;
  28.  
  29.  
  30. }
  31.        form select
  32.        {
  33.            margin: 1px;
  34.  
  35.        }
  36.        form input[type='submit']
  37.        {
  38.            display: block;
  39.            margin: 10px 0px 12px 98px;
  40.            width: 80px;
  41.            height: 30px;
  42.  
  43.        }
  44.  
  45.    </style>
  46.  
  47. </head>
  48. <form id="form">
  49.     <h1>Contact Us</h1>
  50.     <span>First name:<span/> <input type="text" name="username" class="aaff"> <br/>
  51.     <span>Last name:<span/> <input type="text" name="Lastname" class="aaff" > <br/>
  52.         <span>Email:<span/> <input type="text" name="Email" class="aaff"> <br/>
  53.     <span>Town:<span/> <select name="Town"class="aaff">
  54.  
  55.         <option value="1">Sofia</option>
  56.         <option value="2">Pernik</option>
  57.         <option value="3">Kiustendil</option>
  58.         <option value="4">Blagoevgrad</option>
  59.         <option value="5">Plovdiv</option>
  60.     </select>
  61.  
  62.    <span> <input type="submit" value="Submit"></span>
  63. </form>
  64. </body>
  65. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement