<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon" href="./icon.png" />
<meta charset="utf-8" />
<title>タイトル</title>
<script language="JavaScript">
<!--
onload = function() {
context = canvasId.getContext('2d');
context.fillText("文字列を表示しました",10,10);
canvasId.addEventListener('touchstart',method,false);
};
function method(){
context.clearRect(0,0,120,120);
}
setTimeout("scrollTo(0,1)", 50);
//-->
</script>
</head>
<body>
<canvas id='canvasId' width='305' height='400'></canvas>
</body>
</html>