# `AshUi.RenderTarget.Html`
[🔗](https://github.com/hyperbob-labs/ash_ui/blob/main/lib/ash_ui/render_target/html.ex#L1)

Host-neutral HTML target lowering for `AshUi.RenderTree`.

Live HTML adapters, static HTML, and future HTML-like hosts should consume this target
contract instead of reinterpreting semantic render-tree metadata themselves.

# `attributes_iodata`

```elixir
@spec attributes_iodata(map() | keyword()) :: iodata()
```

# `attrs`

```elixir
@spec attrs(AshUi.RenderTree.Element.t(), keyword()) :: map()
```

# `attrs_for`

```elixir
@spec attrs_for(
  atom() | String.t() | nil,
  map(),
  [AshUi.EventBinding.t()],
  map(),
  keyword()
) :: map()
```

# `html_escape`

```elixir
@spec html_escape(term()) :: iodata()
```

# `html_text_escape`

```elixir
@spec html_text_escape(term()) :: iodata()
```

# `render_static`

```elixir
@spec render_static(term(), keyword()) :: {:safe, iodata()}
```

# `render_tree_value?`

```elixir
@spec render_tree_value?(term()) :: boolean()
```

# `safe_text`

```elixir
@spec safe_text(term()) :: {:safe, iodata()}
```

# `safe_to_iodata`

```elixir
@spec safe_to_iodata(term()) :: iodata()
```

# `text_content`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
