Question
What is the viewport meta tag?
Answer
The viewport meta tag controls how a webpage is displayed on different screen sizes.
It is essential for creating responsive websites that adapt to mobile devices.
Example
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Key Points
- Improves mobile responsiveness
- Essential for modern websites
- Used with responsive CSS