Do I need a META tag like this? |
Do I need a META tag like this? |
EdNerd |
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 |
Christian J |
May 14 2020, 12:48 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 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
|
EdNerd |
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>)
|
Lo-Fi Version | Time is now: 24th April 2024 - 01:48 PM |