Advertisement
vencinachev

Insert Form

Dec 21st, 2020
967
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.29 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Автомобили</title>
  5. <style>
  6. input[type=text], select {
  7.   width: 100%;
  8.   padding: 12px 20px;
  9.   margin: 8px 0;
  10.   display: inline-block;
  11.   border: 1px solid #ccc;
  12.  border-radius: 4px;
  13.   box-sizing: border-box;
  14. }
  15.  
  16. input[type=submit] {
  17.   width: 100%;
  18.   background-color: #ff9933;
  19.  color: white;
  20.   padding: 14px 20px;
  21.   margin: 8px 0;
  22.   border: none;
  23.   border-radius: 4px;
  24.   cursor: pointer;
  25. }
  26.  
  27. input[type=submit]:hover {
  28.   background-color: #ff9999;
  29. }
  30.  
  31. div {
  32.   border-radius: 5px;
  33.   background-color: #f2f2f2;
  34.  padding: 20px;
  35. }
  36. </style>
  37. </head>
  38. <body>
  39.  
  40. <h2 align="center">Вкарай нова кола</h2>
  41.  
  42. <div>
  43.   <form action="/insertcar.php">
  44.     <label for="fname">Марка, модел:</label>
  45.     <input type="text" name="make" placeholder="Марка модел..">
  46.  
  47.     <label for="lname">Oписание:</label>
  48.     <input type="text" name="desrc" placeholder="Описание..">
  49.    
  50.     <label for="lname">Пробег:</label>
  51.     <input type="text" name="milage" placeholder="Пробег..">
  52.    
  53.     <label for="lname">Линк към снимка</label>
  54.     <input type="text" name="imglink" placeholder="Линк..">
  55.    
  56.     <input type="submit" value="Въведи">
  57.   </form>
  58. </div>
  59.  
  60. </body>
  61. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement