viewport meta tag to control layout on mobile browsers.

 


<meta name="viewport" content="width=device-width, initial-scale=1">

 

  • The width property controls the size of the viewport.
  • The initial-scale property controls the zoom level when the page is first loaded. The maximum-scale, minimum-scale, and user-scalableproperties control how users are allowed to zoom the page in or out.