test.html 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Document</title>
  8. </head>
  9. <body>
  10. <img src="http://marketplace.asmer.fs.a-level.com.ua/images/b3e910bcdd497bceb7df5f4c54966379" alt="" />
  11. <!-- Простая форма, которая пошлёт GET запрос -->
  12. <form action="">
  13. <label for="GET-name">Name:</label>
  14. <input id="GET-name" type="text" name="name" />
  15. <input type="submit" value="Save" />
  16. </form>
  17. <!-- Простая форма, которая пошлёт POST запрос -->
  18. <form action="" method="post">
  19. <label for="POST-name">Name:</label>
  20. <input id="POST-name" type="text" name="name" />
  21. <input type="submit" value="Save" />
  22. </form>
  23. <!-- Форма с fieldset, legend, и label -->
  24. <form action="" method="post">
  25. <fieldset>
  26. <legend>Title</legend>
  27. <input type="radio" name="radio" id="radio" /> <label for="radio">Click me</label>
  28. </fieldset>
  29. </form>
  30. </body>
  31. </html>