I just noticed that FACEBOOK is using “ajaxify” attribute in thein <a> tag.
- Is it valid to use the attribute that is not specified by the W3
standards? - Will it be validated?
- Can we you any custom attribute like this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unless something has changed with the new html5 stuff, no this is not valid. However, browsers usually don’t care either way and javascript will be able to find these new attrs.
That being said… Here’s what the spec (xhtml 1.0) has to say:
(from http://www.w3.org/TR/html/#uaconf)
“If a user agent encounters an attribute it does not recognize, it must ignore the entire attribute specification (i.e., the attribute and its value).”