4 replies [Last post]
gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 4 years 45 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

<meta name="viewport" content="width=device-width, initial-scale=1">

What is this line actually interpreted as ?

helldog2004
helldog2004's picture
Offline
Enthusiast
Netherlands
Last seen: 4 years 51 weeks ago
Netherlands
Timezone: GMT+2
Joined: 2014-03-02
Posts: 205
Points: 239

This command will look at the

This command will look at the width of the screen of the viewing device (i.e. a mobile phone)
Once it measured the width of a certain screen the viewer is watching with it will adjust your website to the screen of the viewer.

This improves client experience.

Check Maximum Webdesign for your online solutions

gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 4 years 45 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

Thank you

Thank you , but i taught tags were only for carrying data and not manipulation.

helldog2004
helldog2004's picture
Offline
Enthusiast
Netherlands
Last seen: 4 years 51 weeks ago
Netherlands
Timezone: GMT+2
Joined: 2014-03-02
Posts: 205
Points: 239

This is not entirely true,

This is not entirely true, yeah most meta tags contain data for searchmachines (as a matter of fact you do are giving the search machines data, that your website is optimized for mobile phones).
But there are other meta tags containing jobs instead of only data, for example:

<meta http-equiv="Cache-control" content="public">
<meta http-equiv="Cache-control" content="private">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache-control" content="no-store">

Now to read everything about your meta tag I would like to refer you to the page all about portviewing.
I hope this will help you find all your answers, this also includes a list of which phones with what browsers are compatible with this meta tag.

Cheers, Henk

Check Maximum Webdesign for your online solutions

gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 4 years 45 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

Thanks henk

Thank you Henk . that was helpful , did't chdck out the link yet , but i surely will .