Responsive <meta> tag
- The
<meta>
tag is helpful for mobile layouts - Tells the browser that you are opting into building a mobile site
- Without this tag, smartphones may try to show a scaled version of desktop sites
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
...
</head>
<body>...</body>
</html>
9 / 22