DomNode.getByTagName

Gets all nodes by a tag name.

class DomNode
final @safe
getByTagName
(
string tagName
,
bool searchChildren = false
)

Parameters

tagName string

The tag name to retrieve nodes by.

searchChildren bool

If set to true, then it'll perform a nested search through children.

Return Value

Type: DomNode[]

An array of the nodes found.

Meta