01.html 560 B

12345678910111213141516171819202122
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title id="page-title">HTMX | Chapter 5 demos</title>
  6. <script src="js/htmx-1-9-12.min.js"></script>
  7. <link rel="stylesheet" href="css/styles.css"/>
  8. </head>
  9. <body>
  10. <h1 id="title">Chapter 5 demos</h1>
  11. <h2>Boost form</h2>
  12. <nav hx-get="/autonum/nav" hx-trigger="load"></nav>
  13. <div id="main">
  14. <form action="/messages" method="post" hx-boost="true">
  15. <input type="text" name="message" placeholder="Enter A Message...">
  16. <button>Post Your Message</button>
  17. </form>
  18. </div>
  19. </body>
  20. </html>