HTML nodeName and tagName properties of nodes are in upper case #37744
Labels
Content:WebAPI
Web API docs
goal: clarity
(Experimental label) Issues about unclear/confusing/inconcise content.
good first issue
A good issue for newcomers to get started with.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement
What specific section or headline is this issue about?
https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement#parameters - tagName
What information was incorrect, unhelpful, or incomplete?
While
nodeName
andtagName
are held in DOM nodes of HTML pages in upper case, description for thetagName
parameter states the opposite:What did you expect to see?
Do you have any supporting links, references, or citations?
console.log(document.querySelector('html').tagName);
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/document/createelement
The text was updated successfully, but these errors were encountered: