画布是一个矩形区域,您可以 控制其每一像素(xiànɡ sù)。
通过HTML5的<canvas>元素来
使用JavaScript绘制形状和图
形,并在Web页面上创建动画,
而这些并不需要通过其他语言
(SVG,Flash)来实现。
//消失的正方型
<!DOCTYPE html> <meta charset="UTF-8"> <html>
context.lineTo(600,200);
context.lineTo(600,400);
context.lineTo(400,600); context.lineTo(200,600); context.lineTo(0,400);
第19页,共20页。
THANKS
第20页,共20页。
</video>
</body> </html>
This is a sample text. Insert your desired text here. Again, this is a dummy text, enter your own text here. This is a sample text. Insert your desired text here.
第14页,共20页。
audio音频 标 (yīnpín) <!DOCTYPE html>
签
<html>
<body>
<audio controls="controls">
<source src="example.mp3" type="audio/mp3"/>