meta tag customization (ios + android)

13
Usage of meta tag iOS

Upload: vssranganadhp

Post on 12-Jul-2015

708 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Meta tag customization (iOS + android)

Usage of meta tagiOS

Page 2: Meta tag customization (iOS + android)

Text content of body in html page without meta tag

"Hello world!" is displayed likethis when we're not using metatag.

Page 3: Meta tag customization (iOS + android)

Text content of body with meta tag

Text displayed normally when using meta tag

Page 4: Meta tag customization (iOS + android)

Android

Meta tag customization

Page 5: Meta tag customization (iOS + android)

Same HTML page in Android emulator (without meta tag)

If no meta tag is used, HTMLpage will look like this.

Page 6: Meta tag customization (iOS + android)

device-width: Measures widthin device pixels

width : Measures width inCSS pixels

Zooming in web page affectsCSS pixels, not device pixels.

using "width = device-width" in content

Page 7: Meta tag customization (iOS + android)

Removed width from content

Removed width from content

Page 8: Meta tag customization (iOS + android)

user-scalable = yes

By setting user-scalableto yes

Page 9: Meta tag customization (iOS + android)

user-scalable = no

By setting user-scalableto no

Page 10: Meta tag customization (iOS + android)

Different values of target-densitydpi

target-densitydpi variesfrom 70-400

Page 11: Meta tag customization (iOS + android)

240 320 360

Page 12: Meta tag customization (iOS + android)

Maximum target-densitydpi is 400

Below 70 & Above 400 will look like this

Page 13: Meta tag customization (iOS + android)

using "low-dpi" intarget-densitydpi

using "high-dpi" intarget-densitydpi

using "medium-dpi" intarget-densitydpi