The head Element

The first line inside the head is the one that defines the character encoding for the document.

HTML5 improves on this by reducing the character encoding <meta> tag element in the simplified form:
<meta charset="utf-8">

This is another element that’s been simplified. Here’s how you used to do this:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Related Tutorial
Follow Us #