短评 · ·

X 归档 2022-05-30

1 条动态 · 图 0 · 视频 1
Should you use an anchor tag or a button tag for clickable elements in HTML?

The answer is surprisingly nuanced:
在 HTML 中,可点击元素该用 anchor 标签还是 button 标签?

答案出人意料地微妙: