Posts by Pedro Rodrigues • 161 points
2 posts
-
1
votes9
answers9696
viewsA: Is it right to use the <i> tag for icons and not italics?
Semantically speaking, the tag <i> is used to represent text. If what we want to display is only an image and not text, then the tag <img> is best suited for this purpose. Normally icons…
-
5
votes6
answers27772
viewsA: When, why and how to use the "use Strict" directive in Javascript?
Javascript was originally designed to be easy to learn by inexperienced programmers. And so they made Javascript into a language where you’re allowed to do all sorts of stupid things - the compiler…