- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Define Viewport
Viewport in terms of web design is the visible area of the web page.
Using the following, we can set Viewport:
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0">
Here, <meta>: instruct the browser to control the dimension of the web page
width = device-width sets the screen width
initial-scale = 1.0 is the initial zoom level
Advertisements