What exactly does this meta tag do in HTML? šŸ‘‰ šŸ‘‰ šŸ‘‰ <meta name="viewport" content="width=device-width, initial-scale=1.0"> | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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