Open In App

What is use of the viewport value in meta Tag in Bootstrap ?

The viewport meta tag in Bootstrap plays a pivotal role in ensuring proper scaling and responsiveness of web pages on various devices. It defines how the browser should handle the dimensions and scaling of the content based on the device’s screen size.

Syntax

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

Explanation:

Usages:

Article Tags :