Required Instance Propertysliemeobn.elementary 0.5.0Elementary
body
HtmlDocument.swift:41@HTMLBuilder var body: HTMLBody { get }
@HTMLBuilder var body: HTMLBody { get }
import Elementary
protocol HTMLDocument : HTML
A type that represents a full HTML document.
@resultBuilder struct HTMLBuilder
A result builder for building HTML components.
associatedtype HTMLBody : HTML
associatedtype HTMLHead : HTML
var dir: HTMLAttributeValue.Direction { get }
The text directionality (ltr
, rtl
, auto
) of the HTML document.
@HTMLBuilder var head: HTMLHead { get }
var lang: String { get }
The language of the HTML document.
var title: String { get }
The title of the HTML document.