开发者

Firefox Addon HTML Validator showing Canvas not recognized

I'm using the HTML Va开发者_JAVA百科lidator Addon in Firefox 4 (great tool I might add).

However, I'm not sure the validation is working the way it should. I'm getting an error saying 'Canvas is not recognized'.

My doctype and html tags are set as follows:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

I believe this is supposed to be the HTML5 way for setting doctypes.

Is there something I'm missing?!


Try removing xmlns="http://www.w3.org/1999/xhtml" from the <html> element.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜