Hacker News new | ask | show | jobs
by zeveb 3588 days ago
Or, y'know, one could just use an image instead of abusing HTML:

    <img src="pizza.png" alt="" />
1 comments

Except that would require multiple web requests unless you were using an image sprite. Font Awesome and Glyphicons solve this by using a font file or sprite.

I do wish they didn't overwrite the traditional <i> tag, but I guess we're supposed to be using <em> for semantic HTML.

> Except that would require multiple web requests unless you were using an image sprite.

So … it can be made to work with a single request then.

Yup, and Glyphicons does that.