According to this answer on Meta Stack Exchange, the <dl>
(description list) HTML tag can be used in posts on Stack Exchange sites.
When I tried to use it in a Stack Overflow post, the contents of the <dl>
, <dt>
and <dd>
elements (which were visible in the markup of my post, as verified with the element inspector in my browser) were displayed as plain text with essentially no styling added.
Here's the exact quote from my post (here, as pre-formatted HTML code):
<dl><dt>Permitted content</dt><dd>Flow content, but with no footer or header descendants.</dd></dl>
It looks like this:
- Permitted content
- Flow content, but with no footer or header descendants.
I was hoping to display a description list in order to quote a piece of documentation in a readable manner.
How about providing some meaningful styling to these elements? Personally, I'd find them immensely useful when quoting off-site resources such as documentations or specifications. It would be a boon to be able to use them inside a quote.