Role: Controls the layout on mobile browsers.
Importance: Essential for responsive web design, impacting user experience and mobile SEO.
Meta Viewport tag
Meta Viewport tag must be placed between the <head> and </head> as follow:
<!DOCTYPE html>
<html>
<head>
<title>Sample Page</title>
</head>
<body>
<!-- body content here -->
<footer>
<!-- Footer content here -->
</footer>
</body>
</html>
×