May 2022
Beginner
454 pages
4h 19m
English
Adding the following meta tag to the head of an HTML page will prevent the user from scaling the page, either using their browser controls or with “pinch-to-zoom” on a touchscreen device:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
Although rare, it’s still seen in the wild. Designers typically do this because:
The result is that this prevents users with vision difficulties from scaling the page.
Don’t be these designers. Let your users choose how to view and manipulate your interfaces. Away ...