+ 2

What exactly does this meta tag do in HTML? 👉 👉 👉 <meta name="viewport" content="width=device-width, initial-scale=1.0">

Screen layout

7th Jun 2020, 5:42 PM
ℤ𝕚𝕔𝕔𝕠
ℤ𝕚𝕔𝕔𝕠 - avatar
2 odpowiedzi
+ 3
Žï¢čø meta tag use for many purpose but mostly use in SEO (Search Engine Optimization), to get ranking of website etc. There can be different content type of meta tag. As you mentioned with question here meta content type is "width=<device-width, initial-scale=1.0". It means any size of device will automatically adjusts your web page according to screen size means content will not overflow.
14th Jun 2020, 10:24 PM
A͢J
A͢J - avatar
+ 1
It makes sure the website is RESPONSIVE. it can display properly on different screen sizes whether Desktop, Tablet or Mobile, maintaining the same layout.
15th Jun 2020, 1:00 AM
Franklin Ohaegbulam
Franklin Ohaegbulam - avatar