Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chris_wot
· 2y ago · 0 comments
Might be fun to replace the div tags with a custom tag.
https://html.spec.whatwg.org/multipage/custom-elements.html
Comments
[–]
vlw
2y ago
It's pure CSS so a custom tag will not add any styling a <div> couldn't
[–]
chris_wot
OP
2y ago
Yes, but it will preserve semantic markup.