Mobile or pc view

I have a question about page view is this possible to make every page in mobile view? Because when I browse my site the page which has A LOT OF text is in mobile view but when the page has NOT A LOT OF TEXT than it’s in pc view . Question: how to make all pages with mobile view
I use HTML

Viewport is the solution for you! Add this line of code inside your head tag:

<meta name="viewport" content="width=device-width, initial-scale=1">

Also, consider resizing your images so that the user won’t zoom out to see them on a mobile device.

uhhh I never heard about head tag what does it mean?

The head tag is used to not show things on the browser (and show the title of your pages/website and the optional favicon on the browser’s page bar). If you don’t use it, then it would be an important error to fix, as the title tag requires the head tag to be used. It should be put inside the html tag. Example of use:

<!DOCTYPE HTML>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Example</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
    <!-- your content here -->
</body>
</html>
4 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.