/Knowledge/sources/honojs__hono/llms-full/context-html--466865c2e2cf.md
Context: html() - hono-docs
Context: html() Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt html Summary Render HTML as Content Ty...
Context: html()
Source evidence: /Sources/honojs__hono/provenance.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>')
})
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#html",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Context > html()",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 557,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Context: html()",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}