Will ASP.NET MVC's new “unobtrusive” JavaScript make my HTML code invalid?

Yes, if you do not accept HTML5 as valid HTML, then it will indeed be "invalid data- attributes are new features of the HTML5 specification.

Yes, if you do not accept HTML5 as valid HTML, then it will indeed be "invalid. " data-* attributes are new features of the HTML5 specification. I would definitely suggest changing your attitude toward this though; if you only worked with fully-completed standards, then make sure you're not using any CSS3 features, or anything cool like , and the like!

Heck, even if you use innerHTML in your JavaScript, that's not part of any standard DOM except that defined for HTML5!

– Venemo Nov 12 '10 at 11:44 1 Yeah, that's what I did :) – Domenic Nov 12 '10 at 21:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions