Why are they using
<i>
tag to display icons ?
Because it is:
- Short
- i stands for icon (although not in HTML)
Is it not a bad practice ?
Awful practice. It is a triumph of performance over semantics.
More Related Contents:
- input type=”submit” Vs button tag are they interchangeable? [duplicate]
- vs vs for inline and block code snippets
- Is a DIV inside a TD a bad idea?
- Using custom HTML Tags
- Should a heading be inside or outside a ?
- Are block-level elements allowed inside inline-level elements in HTML5?
- HTML5 nested sections and heading tags
- Markup for postal addresses
- w3c html validation error – Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections
- Valid to use (anchor tag) without href attribute? [duplicate]
- How to properly use h1 in HTML5
- When to use line breaks vs CSS positioning?
- Marking up a search result list with HTML5 semantics
- CSS/HTML: What is the correct way to make text italic?
- Is it correct to use DIV inside FORM?
- Most common way of writing a HTML table with vertical headers?
- Which way to implement this picture in HTML CSS code and bootstrap
- Can I have an onclick effect in CSS?
- Why aren’t my absolutely/fixed-positioned elements located where I expect?
- Can I add a custom attribute to an HTML tag?
- css background color with floating elements
- How to make bootstrap 3 fluid layout without horizontal scrollbar
- How to get a background image to print using css?
- How should I choose between GET and POST methods in HTML forms?
- How to set an image’s width and height without stretching it?
- Make flex items overlap
- HTML class attribute with spaces, it is a W3C valid class?
- plays in other browsers, but not Safari
- Aligning elements left and center with flexbox
- Why aren’t my bootstrap 4 columns the same height?