开发者

Firefox Addon HTML Validator showing Canvas not recognized

开发者 https://www.devze.com 2023-03-10 04:55 出处:网络
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

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

精彩评论

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

关注公众号