The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Do I need a META tag like this?
EdNerd
post May 14 2020, 12:03 PM
Post #1





Group: Members
Posts: 8
Joined: 12-May 20
Member No.: 27,340



I am looking at various topics on W3Schools, and in their examples I keep seeing this META tag:
CODE
<meta name="viewport" content="width=device-width, initial-scale=1">


Is this so a web page fits any device?
So if I want a web page that crosses all device platforms, I need this??

Ed
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post May 14 2020, 12:48 PM
Post #2


.
********

Group: WDG Moderators
Posts: 8,469
Joined: 10-August 06
Member No.: 7



Yes, it makes pages easier to view on mobile screens. There's an illustration of this at the bottom of http://quirksmode.org/mobile/viewports2.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
EdNerd
post May 14 2020, 01:02 PM
Post #3





Group: Members
Posts: 8
Joined: 12-May 20
Member No.: 27,340



Thank you for the quick answer and the link. :8>)
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 12th July 2020 - 02:53 PM