
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
How to disable zooming capabilities in responsive design with HTML5?
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">
- Related Articles
- Can zooming be disabled with HTML5
- How to design a responsive website?
- Responsive Web Design with Media Queries in CSS
- CSS3 Responsive Web Design
- Usage of Responsive Web Design
- Device Detection and Responsive Design in React JS
- Responsive web design best for mobile seo strategy
- HTML Viewport meta tag for Responsive Web Design
- Can a user disable HTML5 sessionStorage?
- How to create responsive typography with CSS?
- How to create responsive testimonials with CSS?
- How to create a responsive header with CSS?
- How to create a responsive image with CSS?
- How to create a responsive form with CSS?
- How to create a responsive table with CSS?

Advertisements