Check out example codes for "html meta viewport". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

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

Code Example 3

<meta name="viewport" content="width=device-width, user-scalable=no">

Code Example 4

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

Learn ReactJs, React Native from akashmittal.com