What is the use of meta tags in onresize event

what is the use of meta tag in onresize event, code can run without using any meta tags too.

show your code how you adding meta code in onresize

It’s specifically not only useful for onresize event, but it’s usefull for entire HTML page whatever comes in it.
It’s is a part of standard HTML template

<meta charset="utf-8"/>

By using it you telling your browser to use the UTF-8 character encoding, which is a method of converting your typed characters into machine-readable code.

okay got it! thanks for your response.