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
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +