0 votes
in Website Optimization by
What is the meaning of mobile viewport?

1 Answer

0 votes
by (44.9k points)

Mobile viewport is the size of the webpage viewed in mobile screens. You are required to configure mobile viewport to indicate what size of the webpage should be viewed in mobile screens. This is done by adding a simple metatag at the header section of the web page.

The recommended metatag is;

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

  • Width device means adjust webpage to fit the device's width
  • Initial-scale means adjust the size according to phone orientation (landscape or portrait).

The above metatag should be added inside the header  as show below.

<head> add mobile viewport metatag here </head>

Related questions

0 votes
1 answer
asked Apr 16, 2021 in Website Optimization by anonymous
0 votes
1 answer
0 votes
1 answer
Register, ask, and answer questions to earn more points and privileges. Some features are disabled for users with few points.
Welcome to Kenyayote Q&A, the largest community site in Kenya where you can ask any question and receive answers from Kenyayote staff and other members of the community.

Before you ask, search the website to make sure your question has not been answered.

If you are ready to ask, provide a title about your question and a detailed description of your problem.

Register to join Kenyayote Ask Community.