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

Does using the <i> tag have any negative effect on the semantic markup of a page? I see that it doesn't impact screen-readers but what about if someone is trying to parse your HTML?


Should also work just fine with the <span> tag. <i> is just shorter. I went with the same method Twitter Bootstrap 2.0 is using for their fixed-size icons: http://twitter.github.com/bootstrap/base-css.html#icons




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: