Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
526 views
in Technique[技术] by (71.8m points)

jquery - Is valid HTML5 OK to use now?

I've been reading about HTML5 and would like to start using some of it, particularly datasets as I've found an interesting looking jQuery plugin that I can start using...

http://www.barklund.org/blog/2009/08/28/html-5-datasets/

Now, I understand that older browsers like IE6 may not like having extra attributes in there and may not know what to do with them but if they ignore them and the site still validates using an HTML5 validator then that should be OK, no?

I especially want to make sure I'm not going to get penalised by Google etc. for not having valid markup and that I'm not going to get complaints from clients that their site is "not valid" when they check it using a bog standard W3C validator.

What are people's thoughts on this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I'd recommend checking out Dive Into HTML 5 and deciding for yourself if you think the tradeoffs are acceptable. So far as I've heard, there are no negative SEO implications for using HTML 5. I just ran the w3c validator on Dive Into HTML 5 and it automatically detected that it was HTML 5 and validated it, so I don't think that will be a concern, either.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...