--- layout: layout.njk title: htmx - hx-prompt --- ## `hx-prompt` The `hx-prompt` attribute allows you to show a prompt before issuing a request. The value of the prompt will be included in the requst in the `X-HX-Prompt` header. Here is an example: ```html ``` ### Notes * `hx-prompt` is inherited and can be placed on a parent element