What is "next-size-adjust" in meta tag?

95 Views Asked by At

Hello I work in an app with next js and I see next-size-adjust in meta tag. I would like to know what is this.

This is my source code (head):

<head>
    <meta name="next-size-adjust" />
</head>

I make a W3c validation test and I have this error "Element meta is missing one or more of the following attributes: content, property."

So I put the content attribute but I don't know if it's good :

head>
    <meta name="next-size-adjust" content="100%" />
</head>
1

There are 1 best solutions below

1
Harsh vora On

The next-size-adjust meta tag is a special meta tag used by Next.js to help improve the performance of your application by adjusting the size of the viewport when certain elements are loaded. This can help to reduce layout shifts and improve the user experience. As such, it may not be supported by all web browsers.