Mobile Device Compatible HTML Codes

You need to add a meta tag to tell the browser to render for mobile phones. This is the one I use.

<meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes,
initial-scale=1, maximum-scale=5.0, minimum-scale=1.0" />
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s