html - Viewport, media queries, usable in lower than html5 -


is viewport usable in html versions before html5? , can 1 please enlighten me how use viewport , media queries? trying make site resposive website , @ same time 'mobifying' it. don't think it's built using html5. insights please? in advance.

first of should not thing of "html5" single concrete entity , particular things usable before html5 or not. whether can use viewport (i assume mean <meta name="viewport">) depends largely on device. <meta name="viewport" content="width=device-width"> , more commonly used smaller devices such phones, not need use larger screens. depends on situation, though, i'll reiterate: depends on device , user agent (browser).

as using media queries part of css3 spec , has nothing html5 @ all. once again, whether or not media queries supported (and how they're supported) depends on user agent.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -