Documentation ¶ Index ¶ Variables func New(nodes ...node.Node) *element type Element Constants ¶ This section is empty. Variables ¶ View Source var ( TagOpen = []byte("<dl") TagClose = []byte("</dl>") ) Byte constants for HTML rendering. Functions ¶ func New ¶ func New(nodes ...node.Node) *element New Creates a new dl element with the given child nodes (typically <dt> and <dd> elements). Example: dl.New(dt.New(text.Text("Term")), dd.New(text.Text("Description"))) Renders: <dl><dt>Term</dt><dd>Description</dd></dl> Types ¶ type Element ¶ type Element = element Element is an exported alias for the private element type Source Files ¶ View all Source files constants.godl.go Click to show internal directories. Click to hide internal directories.