HTMX lets you add dynamic behavior to HTML pages using attributes: hx-get="/api/data" loads content via AJAX, hx-trigger="click" specifies when to fire, hx-target="#results" specifies where to put the response, hx-swap="innerHTML" specifies how. No JavaScript required. HTMX is growing rapidly as an alternative to heavy SPA frameworks for server-rendered applications.
glossary2 min read
HTMX Explained
HTMX adds AJAX to HTML with attributes instead of JavaScript.
Try these tools
More glossary articles
What is WebP?
WebP is a modern image format by Google offering superior compression. Learn when and how to use WebP images.
What is HEIC?
HEIC is the default photo format on iPhones. Learn what it is, why Apple uses it, and how to convert it.
What is JSON?
JSON (JavaScript Object Notation) is the standard data format for web APIs. Learn the syntax and common uses.
What is Regex?
Regular expressions (regex) are patterns for matching text. Learn the basics and common use cases.