我试着测试画布标签,我从下面的代码开始:
<html>
<canvas id="example" width="200" height="200">
This text is displayed if your browser does not support HTML5 Canvas.
</canvas>
</html>
在IE8中我得到了这样的信息:
This text is displayed if your browser does not support HTML5 Canv
我正在研究HTML5,也许还有一个愚蠢的疑问:
我可以关闭标签吗?这会影响功能吗?
示例:
HTML5
<!DOCTYPE html>
// Is the same <!DOCTYPE html /> ?
<html lang="en">
// Is the same <html lang="en" /> ?
<meta charset =" utf-8">
Is the same <meta charset =" utf-8" /> ?
我问这个问题是因