Skip to main content
Module

x/htm/mod.ts>HtmlOptions

Create a html response with JSX.
Go to Latest
interface HtmlOptions
import { type HtmlOptions } from "https://deno.land/x/htm@0.1.2/mod.ts";

Properties

optional
lang: string
optional
classes: { html?: string[]; body?: string[]; }
optional
title: string
optional
meta: Record<string, string | null | undefined>
optional
styles: (string | { href?: string; text?: string; id?: string; })[]
optional
scripts: (string | { src?: string; text?: string; type?: string; id?: string; async?: boolean; defer?: boolean; })[]