How to disable pinch and zoom in html5

0 votes
asked May 18, 2016 in HTML5 by john (4,220 points)
Hi All

   I want to disable the pinch and zoom in HTML5 Page

1 Answer

0 votes
answered May 18, 2016 by admin (8,135 points)

Hi John

  Update the viewport like below,

    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=0">

user-scalable will disable the pinch and zoom