#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.
Watch video What Is Meta Viewport | What are the uses of Viewport | How to write viewport in meta tag online without registration, duration hours minute second in high quality. This video was added by user Tech Source Technologies 13 June 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 105 once and liked it 3 people.