DD & DT elements
Closed this issue · 2 comments
damercier commented
Hello,
Why were the DD and DT considered non-standard and removed in 1.0.0 version?
There are valid HTML5 elements.
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd and https://www.w3.org/TR/html52/grouping-content.html#the-dt-element
Can we re-introduce those missing elements in the next release?
Originally posted by @damercier in #360
sjrd commented
The HTML elements are standard, but their programmatic API are in both cases HTMLElement
, not a more specific HTMLDDElement
/HTMLDTElement
(which do not exist). This is written under "DOM interface" in the links that you point to.
Bottom line: you should use HTMLElement
/html.Element
instead of HTMLDDElement
/html.DD
.