Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bakugo
on May 25, 2023
|
parent
|
context
|
favorite
| on:
VanJS (Vanilla JavaScript): smallest reactive UI f...
For most icon libraries that use <i> for their icons, it's usually just a suggestion and using <span> instead works fine. They mainly use <i> because it's "pretty".
masswerk
on May 25, 2023
[–]
Actually, it should be a label (or a button, depending on the use case).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: