Can zooming be disabled with HTML5

JavascriptWeb DevelopmentFront End Scripts

To disable zooming capabilities in responsive design, you need to create a META viewport tag.

With that, set the user-scalable property to 'no' like:

user-scalable=no

Add the following in your HTML code to disable zooming capabilities in responsive design:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
raja
Published on 11-Apr-2018 16:41:32
Advertisements