On The (2021)
benmyers.dev
On The (2021)
1–10 of 138 posts
Re: On The <dl> (2021)
#2Hoped to see CSS for the alternative, where is not nested inside the . Too used to thinking of div as "layout containers."
Re: On The <dl> (2021)
#3[deleted]
Re: On The <dl> (2021)
#4I was a bit surprised to see nested s given as some sort of precursor pattern, when was part of HTML before 2.0 back in the days of table layout.
Re: On The <dl> (2021)
#5I've used this a good amount of times, when I coded in front end projects. The first time gave me that satisfying feeling of using the right tool for the job, like completing a puzzle of HTML semantics. I remember JAWS not announcing it correctly in 2018, not sure if it's better now.
Re: On The <dl> (2021)
#6I'm curious if the spec actually says you can only wrap it with a div because I like to do semantic html and name my elements specific to my domain.
Re: On The <dl> (2021)
#7I'm curious if the spec actually says you can only wrap it with a div because I like to do semantic html and name my elements specific to my domain.
Yep, I was a little surprised about that too, seem like it is valid though https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
Re: On The <dl> (2021)
#8I'm curious if the spec actually says you can only wrap it with a div because I like to do semantic html and name my elements specific to my domain.
Re: On The <dl> (2021)
#9I'm curious if the spec actually says you can only wrap it with a div because I like to do semantic html and name my elements specific to my domain.
[deleted]
Re: On The <dl> (2021)
#10> Prior to HTML5, this was called a definition list. This is because the was originally only intended to represent glossaries of terms and their definitions.
TIL I’ve been naming it wrong for a decade.