# html

**Kind:** Function

**Source:** [`src/helper/html/index.ts`](https://github.com/honojs/hono/blob/main/src/helper/html/index.ts#L11)

**Part of:** [Helper](subsystem-src-helper)

## Signature

```ts
function html(strings: TemplateStringsArray, values: unknown[]): HtmlEscapedString | Promise<HtmlEscapedString>
```

## Parameters

| Name | Type |
|---|---|
| `strings` | `TemplateStringsArray` |
| `values` | `unknown[]` |

**Returns:** `HtmlEscapedString | Promise<HtmlEscapedString>`

## Relationships

- IMPORTS → `escapeToBuffer`
- IMPORTS → `raw`
- IMPORTS → `resolveCallbackSync`
- IMPORTS → `stringBufferToString`

## Used by

11 references from 9 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (11)

- `RequestContext` — `src/middleware/jsx-renderer/index.ts`:14
- `RequestContext` — `src/middleware/jsx-renderer/index.ts`:14
- `createCssContext` — `src/helper/css/index.ts`:72
- `defaultPlugin` — `src/helper/ssg/plugins.ts`:11
- `Props` — `src/jsx/base.ts`:27
- `childrenToString` — `src/jsx/components.ts`:14
- `Context` — `src/jsx/context.ts`:8
- `title` — `src/jsx/intrinsic-element/components.ts`:121

…and 3 more.
