Properly closing or self-closing tags in HTML5
doctype, html
Solution
That entirely depends on your DOCTYPE: Self-closing tags are needed for compliance with the XHTML Standard. HTML4 and HTML5 don't require self-closing tags.
Problem
I have a question relating to closing HTML tags that are self-closing. Which is more proper? ``` 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 `<meta>` tag, 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 helped me some-what. I use `<!DOCTYPE html>` for my doc type.