Unnecessary? This isn't actually #HTML. We don't nest a block element into an inline element. Ans, the anchor element IS the defining aspect of #HTML and the #www. Where are people learning this crazy stuff? It pains me! #100DaysOfCode #100Devs #webdevelopment #webdesign #a11y
When I see an anchor link <a href="...">...</a> I think to myself, "What a simple way to get a hyperlink on a page." Today I found a page chock full of <a href="..."><div>example text</div></a>. I know it's not a failure, it works, blah blah blah. It's unnecessary though, to me.

Mar 20, 2022 · 6:07 PM UTC

3
1
12
Replying to @mholzschlag
I recently talked to a "senior" dev who put a button inside an anchor, and when I was telling him not to, he couldn't figure out how to do what he was trying to do without doing it that way. I could spend 100% if my time doing code reviews and still see this junk.
1
2
Replying to @mholzschlag
And in “HTML5 spec is just the worst” #73 — it made that legal and documented an example of it, effectively encouraging it.
1
4
Replying to @mholzschlag
I'm really afraid they could learn it from the modern HTML spec 😳 html.spec.whatwg.org/#the-a-…
2
This tweet is unavailable
Tragically aware of this which is my point. This is not HTML. It is HTML5 which is something completely different and completely misnamed.
1