How to set UTF-8 encoding on HTML page

Meta tag with UTF (utf-8, utf-16, utf, 32) charset attribute specifies the character encoding on the HTML pages.
The most commonly used utf-8 encoding character, whose tag looks like this:

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

There is also a shorter, simpler form of meta charset attribute to use, which looks like this:

<meta charset="utf-8">

Like other meta tags, a meta tag with a utf charset attribute is always placed within the <head> </head> section of HTML pages.