Preload, prefetch and other link tags
Just because I can...<p>I find it interesting that he is inconsistent in his usage of <link>. Some of his markup has a closing slash and some of it doesn't. However, my main gripe, is that the HTML spec has never specified or required a closing slash. While it is allowed, putting that slash there has no meaning, it does nothing, and the spec tells browsers they are to ignore for those reasons.<p>When I ask why some people insist on putting it there, I get wildly different, unreasonable answers.<p>"It's just a bad habit I picked up."<p>How do you pick up a bad habit for something that does not exist?<p>"I do it so it's XHTML or XML compatible."<p>Well, you aren't serving it as either XHTML or XML and are very unlikely to do that. In addition, the rest of your HTML is probably not XHTML or XML compatible on top of that.<p>"The spec does allow it."<p>It allows it, as I always tell them, due to backwards compatibility with (X)HTML uses in the past, but it also says you're wasting your time and effort. See my comment at the top.<p>To end this, no HTML specification in the history of the universe has ever stated you need to or should put a closing slash on <link> or <img> or <input> or any other HTML tag and there is no example of such usage anywhere in said documentation either.