Easy Tutorial
❮ Javascript Slideshow C Callback Function ❯

Viewport Template

Category Programming Techniques

Generic Viewport Template

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta content="email=no" name="format-detection">
<title>Title</title>
<link rel="stylesheet" href="index.css">
</head>

<body>
Content starts here
</body>

</html>

Viewport Template - target-densitydpi=device-dpi is not supported by Android versions below 2.3.5

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=750, user-scalable=no, target-densitydpi=device-dpi"><!-- width should be consistent with the width defined on the page -->
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta content="email=no" name="format-detection">
<title>Title</title>
<link rel="stylesheet" href="index.css">
</head>

<body>
Content starts here
</body>

</html>

** Click to Share Notes

Cancel

-

-

-

❮ Javascript Slideshow C Callback Function ❯