In the header of my page code I experimented with viewport as seen here:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
body {
font-family: Verdana, sans-serif;
font-size: 13px;
}
div {
width: 600px;
border: 2.5px solid;
}
div.info {
float: right;
width: 340px;
height: auto;
background-color: blue;
color: white;
padding: 3px;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Page</title>
</head>
<body>
<div>
<H1>This Is A Test</H1>
<P>And in today's news...</p>
</div>
<div class="info">
<p>More news to come</p>
</div>
What are the benefits of including viewport in the header of a page when doing HTML? Is it good practice to include one in a HTML5 page?