Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Viewport affect desktop browsers?

Tags:

html

mobile

EDIT: Nevermind, found duplicate after searching for a completely unrelated topic (kinda serendipitous)

Probably a dumb question, but I have been unable to find a direct answer anywhere.

Does the viewport metatag (<meta name="viewport" content="..." />) have any effect on desktop browsers?

like image 735
Tomas Reimers Avatar asked Nov 30 '11 21:11

Tomas Reimers


People also ask

What is a viewport used for?

A viewport is a term for the visible area of a webpage on a display device. It is used in both code and analog design as a way to refer to the display screen and how layout fits into that screen.

Is viewport deprecated?

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes.

What does meta name viewport mean?

The viewport meta tag tells the browser that the width of the screen should be considered the "Full Width" of the page. Meaning no matter the width of the device you are on, whether on desktop or mobile.

What is the viewport HTML?

The browser's viewport is the area of the window in which web content can be seen. This is often not the same size as the rendered page, in which case the browser provides scrollbars for the user to scroll around and access all the content.


2 Answers

No, they're ignored on the desktop. Mobile devices love them though.

like image 34
SpaceBeers Avatar answered Sep 30 '22 03:09

SpaceBeers


No, it doesn't. I suppose they could decide to interpret them, but it definitely won't be in the near future and/or interfere with your website.

like image 106
Tom van der Woerdt Avatar answered Sep 30 '22 02:09

Tom van der Woerdt