Required Instance Propertysliemeobn.elementary 0.5.0Elementary
head
HtmlDocument.swift:40@HTMLBuilder var head: HTMLHead { get }
@HTMLBuilder var head: HTMLHead { 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 HTMLHead : HTML
associatedtype HTMLBody : HTML
@HTMLBuilder var body: HTMLBody { get }
var dir: HTMLAttributeValue.Direction { get }
The text directionality (ltr
, rtl
, auto
) of the HTML document.
var lang: String { get }
The language of the HTML document.
var title: String { get }
The title of the HTML document.