document is using nonstandard and undefined behavior
In https://html-validate.org/dev/writing-rules.html we are told to use document.getElementsByTagName
But people are telling me this is non-standard:
And it is not documented in html-validate.org.
Please document this function or update documentation to link to authoritative specification for this.