+ 1
Why is link tag not closed?
the syntax of link tag in header is <link rel="" href=""> but it doesn't have h closing tag why?
2 Answers
+ 2
Some elements that are called 'void elements' do not need a closing tag simply because they don't have any content or other elements to be enclosed between the opening tag and the closing tag.
+ 1
use can aslo write as <link rel="" href=""/>