Skip to main content
replaced http://meta.stackexchange.com/ with https://meta.stackexchange.com/
Source Link

According to this answer on Meta Stack Exchangethis 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.

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.

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.

Clarified some stuff that was hard to understand at first
Source Link
Nathan Tuggy
  • 2.2k
  • 9
  • 94
  • 128

Styling of description lists on StackOverflowStack Overflow

According to this answer on Meta StackexchangeStack Exchange, the <dl> (description list) HTML tag can be used in posts on StackexchangeStack Exchange sites.

When I tried to use it in a StackOverflowStack Overflow post, the contents of my <dl> did display and the <dl>, <dt> and <dd> elements themselves(which were visible in the markup of my post (visible in, as verified with the element inspector in my browser) but there waswere displayed as plain text with essentially no useful styling applied to themadded.

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.

Styling of description lists on StackOverflow

According to this answer on Meta Stackexchange, the <dl> (description list) HTML tag can be used in posts on Stackexchange sites.

When I tried to use it in a StackOverflow post, the contents of my <dl> did display and the <dl>, <dt> and <dd> elements themselves were visible in the markup of my post (visible in the element inspector in my browser) but there was no useful styling applied to them.

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>

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.

Styling of description lists on Stack Overflow

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.

Source Link
toniedzwiedz
  • 18.5k
  • 17
  • 20

Styling of description lists on StackOverflow

According to this answer on Meta Stackexchange, the <dl> (description list) HTML tag can be used in posts on Stackexchange sites.

When I tried to use it in a StackOverflow post, the contents of my <dl> did display and the <dl>, <dt> and <dd> elements themselves were visible in the markup of my post (visible in the element inspector in my browser) but there was no useful styling applied to them.

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>

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.