#metatag #viewport #metaviewport
This is 4th Tutorial for Html5 Beginners:
Today in This Tutorial we discuss on the topic is:
1) What Is Meta Viewport?
2) What are the uses of viewport?
3) How to write viewport in meta tag?
Setting the Viewport
HTML5 introduced a method to let web designers take control over the viewport, through the meta tag.
The viewport is the user's visible area of a web page. It varies with the device, and will be smaller on a mobile phone than on a computer screen.
You should include the following meta viewport element in all your web pages:
meta name="viewport" content="width=device-width, initial-scale=1.0"
A meta viewport element gives the browser instructions on how to control the page's dimensions and scaling.
The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device).
The initial-scale=1.0 part sets the initial zoom level when the page is first loaded by the browser.
Смотрите видео What Is Meta Viewport | What are the uses of Viewport | How to write viewport in meta tag онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tech Source Technologies 13 Июнь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 105 раз и оно понравилось 3 людям.