Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would agree with that – it's a convention which the FontAwesome project uses for reasons I haven't looked into (I'm assuming not wanting to type 6 more characters).

I use <span> on all of my projects.



Yes but shouldn't a <span> also always have content? Am I missing something here?


There's nothing that requires it to have content, no. Absent other styles, an empty <span> would be invisible and have no effect though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: