Difference between revisions of "Viewport"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Viewport in [[web browsers]] is the visible visible area of a entire web page. If the document is larger than the viewport, the user can shift the viewport around by scrolling. | Viewport in [[web browsers]] is the visible visible area of a entire web page. If the document is larger than the viewport, the user can shift the viewport around by scrolling. | ||
− | [[wikipedia:HTML5]] Introduced a method to let web designers take control over the viewport, through the <pre><meta name="viewport"></pre> | + | [[wikipedia:HTML5]] Introduced a method to let web designers take control over the viewport, through the tag: <pre><meta name="viewport"></pre>.<ref>https://www.w3schools.com/css/css_rwd_viewport.asp</ref> |
Revision as of 05:49, 31 December 2019
Viewport in web browsers is the visible visible area of a entire web page. If the document is larger than the viewport, the user can shift the viewport around by scrolling.
wikipedia:HTML5 Introduced a method to let web designers take control over the viewport, through the tag:
<meta name="viewport">
.[1]
In Mediawiki software can be solved by adding to LocalSettings.php[2]:
$out->addHeadItem('viewport', '<meta name="viewport" content="width=device-width">');
Advertising: