I do understand there are 2 ways to set the encoding.
- By using Content-Type header.
- By using meta tags in HTML.
Since Content-Type header is not mandatory and is required to be set explicitly ( if server side wants, it can set it) and meta tag is also optional.
In case, both of these are not present, how does browser determine the encoding used for parsing the content?