Explorer

html.node

description
A node of an HTML tree: an element (tag name, attributes and child nodes) or a text. There is no node for a raw HTML string, so texts and attribute values are always escaped by html.to-string
type
Type
expression
Union{
  #element(Record{name: String, attributes: List<@html.attribute>, children: List<@html.node>}),
  #text(String)
}
visibility
public
html.node (project html, branch main, snapshot hd1kHQmQUtgayk-Y5Eo_pcQPlqiL8dHKKndnKtdm-KI)
id: uk4MLO_dRN0lXVrSj8HXqWLFrt_z9jpxj2y1yqE4K-Q
content hash: B-onWHB8qYCTHZQuTivemIxTUDimuvQuhR4A9sQgnL8