logoalt Hacker News

perilunartoday at 2:47 PM2 repliesview on HN

Yes. Any flow content is permitted inside a <dd>. See:

https://html.spec.whatwg.org/#the-dd-element

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...


Replies

myfonjtoday at 3:32 PM

Plus, when curious about formal syntactic correctness, there is the validator.w3.org [1].

[1] https://validator.w3.org/nu/?showsource=yes&showoutline=yes&...

moron4hiretoday at 3:13 PM

I do it to render nested JSON objects, for example.