Responsive Viewport Meta Tag
The viewport meta tag ensures that your website scales properly across different screen sizes, especially on mobile devices. It is **required** when using Bootstrap’s responsive features.
Recommended Meta Tag:
<meta name="viewport" content="width=device-width, initial-scale=1">
<head> section of your HTML page when using Bootstrap 5.
How It Works:
width=device-widthsets the width of the page to the screen width of the device.initial-scale=1sets the initial zoom level to 1 (100%).
Example in HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Responsive Bootstrap Page</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1 class="mt-5">Mobile-Friendly Page</h1>
</div>
</body>
</html>


