Live data from Hacker News

On The (2021)

benmyers.dev

21–30 of 138 posts

Re: On The <dl> (2021)

#21

I love DL. I think tables, at least in the past, were misused as DLs even more in the past and the inconvenience of the table markup is even worse than a bunch of divs.

You're right, but forcing tables to cosplay as DLs was far from the worst way that tables were abused.

Re: On The <dl> (2021)

#22

The final example of the DnD statt sheet makes me think whether it's legal to nest s? I.e. can we do Actions ...

Yes. Any flow content is permitted inside a . See:

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

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

Re: On The <dl> (2021)

#23
> Admittedly, however, support for the element is not yet universal.

Wait what? has been in HTML since.. the first draft in 1993!

I like DL's but they can be challenging to style. This article is using a lot of fixed pixel widths which would break on really small screens or larger data.

Re: On The <dl> (2021)

#24

I love DL. I think tables, at least in the past, were misused as DLs even more in the past and the inconvenience of the table markup is even worse than a bunch of divs.

It's not that inconvenient if you omit unnecessary closing tags:

    
     first
     second
    
     what
     ever
I find it simpler and cleaner than any of the markdown table markups

Re: On The <dl> (2021)

#25

I love DL. I think tables, at least in the past, were misused as DLs even more in the past and the inconvenience of the table markup is even worse than a bunch of divs.

You're right, but forcing tables to cosplay as DLs was far from the worst way that tables were abused.

At least s could easily centre things vertically ;)

Re: On The <dl> (2021)

#26
post #16

The GOV.UK Design System summary list component is a description list https://design-system.service.gov.uk/components/summary-list... And... it also uses the wrapper div for styling

The wrapper div is making me a bit sad. These days, using grid layout, you don’t actually need it in most cases

Re: On The <dl> (2021)

#27
This seems a clear enough win for things that would fit into a simple python dictionary.

Why is it preferred over for laying out columns via a the character attributes at the bottom of TFA?

Re: On The <dl> (2021)

#28

I love DL. I think tables, at least in the past, were misused as DLs even more in the past and the inconvenience of the table markup is even worse than a bunch of divs.

It's not that inconvenient if you omit unnecessary closing tags: first second what ever I find it simpler and cleaner than any of the markdown table markups

Isn't markdown table just a bunch of | ?

Re: On The <dl> (2021)

#30

Earlier quoted context omitted.

It's not that inconvenient if you omit unnecessary closing tags: first second what ever I find it simpler and cleaner than any of the markdown table markups

Isn't markdown table just a bunch of | ?

That's the problem.
Post reply on HN