How to make an HTML page Mobile friendly

Notes:

Making an HTML document mobile friendly:
To make an HTML page optimized for small screen devices; i.e. to make an HTML page get rendered properly on small screen devices; we need to add viewport meta tag to the head section of the page.

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

</body>
</html>

where:
width=device-width : sets width of the HTML page to width of the device screen
initial-scale=1: sets zoom level of the HTML page to 1, when it is first loaded

we can also use:
maximum-scale : used to define how far user can zoom in to the page
minimum-scale : used to define how far user can zoom out of the page

Interview Questions: