Skip to content

Replace {{DOMAttributeMethods}} macro with a page / section #638

Answered by wbamberg
bsmth asked this question in Content
Discussion options

You must be logged in to vote

Yes. I think we could:

  • either have a short guide page under https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model called "Getting and setting attributes" or something, that talks briefly about these methods, and link there from these pages instead of dropping this table in. I don't think a tabular format is particularly useful here and doubt anyone cares what is DOM level 1 or 2 at this point.

  • or (my preference I think) we could just throw this table away, and in the pages for *AttributeNS() and *Attribute(), have a note pointing to the corresponding *Attribute() page, saying that these are much more often used, something like:

Note: In HTML documents, use the {{do…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bsmth
Comment options

bsmth Feb 15, 2024
Maintainer Author

Answer selected by bsmth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants