--- title: "htmx.config.implicitInheritance" description: "Enable implicit attribute inheritance" --- The `htmx.config.implicitInheritance` option, when set to `true`, causes child elements to implicitly inherit htmx attributes from parent elements. **Default:** `false` ## Example ```javascript htmx.config.implicitInheritance = true; ``` ```html ``` When enabled, attributes like [`hx-target`](/reference/attributes/hx-target) on a parent apply to all child elements unless overridden.