Which one I should use in order to cover max. browser versions 1 or 2 or both are equivalent.
1.
<meta charset="utf-8">
2.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Which one I should use in order to cover max. browser versions 1 or 2 or both are equivalent.
1.
<meta charset="utf-8">
2.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
You have provided us and yourself with the answer!
They both are equivalent (to be noted: Since, HTML5)! :/ So use them as per usage or your choice.
The only benefit for me, would be that the second one is lesser to type so it would save some time! Otherwise, they both are just same.
With the first meta you are only defining the character set of the page, with the second one your defining the content type of the page plus the character set. Second one is more complete, and in some cases it will prevent errors.