Use `hx-target` to choose which element an HTMX response updates. Its value can identify an element by ID, such as `#greeting`. This lets a button or form update one part of a page without custom JavaScript. section 6.2.3
Listing 6.9 A simple example of HTMX usage
<script src="https://unpkg.com/htmx.org@1.8.4"></script>
<button hx-get="/click" hx-swap="innerHTML" hx-target="#greeting">
Greet me
</button>
<div id="greeting">
</div>
The button sends a GET request to `/click`; `hx-target="#greeting"` directs the response to the div, and `hx-swap="innerHTML"` replaces its contents. section 6.2.3
In a reservation UI, an availability form targets `#availability` when dates change. A car’s reservation form instead targets `#reservations` after posting to `/reserve`. Separate Qute templates supply the HTML for these updates. section 6.2.3

