DomDocument.findTagName

uint findTagName(scope const(char)[] name) @nogc nothrow pure @safe const

Tag id of a name (any case), 0 if the document never saw it