charset in html code example

Example 1: doctype html charset utf-8

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

Example 2: what is meta charset= utf-8

<head>
<meta charset="utf-8">
<!-- it defines the character encoding , utf-8 stands for 
     unicode transformation format - 8 bits, utf-8 means it will 
     support to display any language -->
     </head>

Example 3: html character encoding examples

It removes javascript related error in Browser inspect console, regarding character encoding

Tags:

Misc Example