<link ... > vs <img ... />



In the previous lesson we have learned that for self-closing elements we should add "/" before the ">"? Is <link> not a self-closing element?


Start here on a quest for knowledge


"There is no concept of a self-closing tag in HTML5. ... you might as well write these without the slash"

Either the comment is incorrect or the lessons on Codecademy are misleading.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.