Quick answer
HTML Meta Viewport – causes and fixes.
HTML Meta Viewport
HTML Meta Viewport – causes and fixes. Use an HTML validator.
Common causes
- Missing viewport meta.
- Wrong content.
How to fix
- Add name="viewport" content="width=device-width".
Use our HTML Validator to paste your markup and see the exact error. Validatethis.org offers free validators for HTML, JSON, XML, CSV, and more. Check /tools for the full list. For API access, see /developers.
FAQ
- Viewport required?
- For mobile.
- Content?
- width=device-width.
Fix it now
Try in validator (prefill this example)