Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cfjgvjh
· 5y ago · 0 comments
For some reason I'm unable to load more when I click on the button. Tried both FF and Edge.
Comments
[–]
edoceo
5y ago
There is not more to load. It's not even a button, just text looking like a button. Can't we still use semantic HTML anymore?
[–]
lrem
5y ago
You don't get HTML. Neither do I. A couple years back there was a well-received "semantic HTML" submission here. I was in the small minority wondering how come `<div class="button">` is better semantics than `<button>`.
[–]
baliex
5y ago
This page is a pretty convincing argument for why <button> is the right element:
https://www.buttoncheatsheet.com/
[–]
iudqnolq
5y ago
It's not quite right though. You need
<button type=button
if you don't want it to have submit semantics (including submitting the containing form if you happen to have it in one).
[–]
benibela
5y ago
XML would be truly semantic
[–]
hanklazard
5y ago
Same on safari mobile.