Advertisement
DjSamirus

1

Mar 31st, 2022
1,258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <title>Форма</title>
  7.     <style type="text/css">
  8.         h1 {
  9.             text-align: center;
  10.             font-style: italic;
  11.         }
  12.         #forma {
  13.  
  14.             text-align: center;
  15.         }
  16.     </style>
  17. </head>
  18. <body>
  19. <h1>Краткое анкетирование по любимой еде</h1>
  20.     <div id="forma">
  21.     <form action="action_page.php" target="_blank">
  22.  
  23.         <label for="fname">Имя</label><br>
  24.         <input type="text" name="fname"><br>
  25.         <label for="lname">Фамилия</label><br>
  26.         <input type="text" name="lname"><br>
  27.         <label for="howold">Возраст</label><br>
  28.         <input type="text" name="fname">
  29.  
  30.         <p>Любимая еда</p>
  31.         <input type="radio" id="favoritefood" name="Fastfood" value="FF">
  32.         <label for="favoritefood">Фастфуд</label><br>
  33.         <input type="radio" id="favoritefood" name="homefood" value="HF">
  34.         <label for="favoritefood">Домашняя еда</label><br>
  35.         <input type="radio" id="favoritefood" name="restrauntfood" value="RF">
  36.         <label for="favoritefood">Ресторанная еда</label><br>
  37.  
  38.         <p>Любимые напитки</p>
  39.         <input type="radio" id="favoritedrink" name="Kompot" value="Kompot">
  40.         <label for="favoritedrink">Самодельные(Компоты, морсы, соки)</label><br>
  41.         <input type="radio" id="favoritedrink" name="Gazirovki" value="Gazirovka">
  42.         <label for="favoritedrink">Газировки</label><br>
  43.         <input type="radio" id="favoritedrink" name="Soki" value="Sok">
  44.         <label for="favoritedrink">Соки в коробках</label><br>
  45.         <input type="radio" id="favoritedrink" name="Water" value="Water">
  46.         <label for="favoritedrink">Вода</label><br>
  47.  
  48.         <input type="submit" value="Отправить">
  49.     </form>
  50. </div>
  51. </body>
  52. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement