Initializer
Html(Doctype doctype = ..., Head head = ..., Body body = ..., String? id = null)
Parameters:
  • doctype = html5

    The Document Type Declaration associated with this document.

  • head = Head()
  • body = Body()
  • id = null
Attributes
bodySource Codeshared Body body
childrenSource Codeshared actual {Head|Body*} children
doctypeSource Codeshared actual Doctype doctype

The Document Type Declaration associated with this document.

Source Codeshared Head head
tagSource Codeshared actual Tag tag

The tag name and type.

Refines Node.tag
Inherited Attributes
Attributes inherited from: Element
Attributes inherited from: Object
Attributes inherited from: Document
Attributes inherited from: Node
Attributes inherited from: ParentNode<Child>
Inherited Methods
Methods inherited from: Object