Monday, October 22, 2012

HTML tags to set page layout according to device/ page size and resolutions

Use following HTML tags in <head> section in order to make your web page appearing same on different screen resolutions on different devices. This will resize webpage, and all underlying controls according to the device size and resolution. This is very useful when you aim designing your website targeting range of devices like, Mobile screens, tablet screens, and traditional desktop or laptop screens.


    <meta name="HandheldFriendly" content="true" />
    <meta name="viewport" content="width=device-width" />

No comments:

Post a Comment

Thanks for visiting my blog.
However, if this helped you in any way, please take a moment to write a comment.

Thanks
Nirman