/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-html-6bfe5347bbf9-html-s0557-c0000.md
html() - hono-docs
html() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt html Summary Render HTML as Content Type:...
html()
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#html
Summary
Render HTML as Content-Type: text/html. ts twoslash import { Hono } from 'hono' const app = new Hono() // ---cut--- app.get('/', (c) => { return c.html(' Hello! Hono! ') })
Content
Render HTML as Content-Type: text/html.
import { Hono } from 'hono'
const app = new Hono()
// ---cut---
app.get('/', (c) => {
return c.html('<h1>Hello! Hono!</h1>')
})