I have a question related to closing HTML self- closing tags .
Which is more true?
1. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Also, if anyone has a good alternative for this tag <meta>, for example:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
OR
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
This article has helped me something.
I use <!DOCTYPE html>for my document type.
source
share