Friday, April 10, 2009

While using MS Expression Web, I received an error stating "This element is not allowed to be self closing in the current schema. Remove the closing slash."

I had never seen that error before, and went hunting for the root cause.

Enter this nifty post that explains WHY self-closing elements could be bad:
http://stackoverflow.com/questions/348736/xhtml-is-writing-self-closing-tags-for-elements-not-traditionally-empty-bad-pra/348818#348818

0 Comments:

Post a Comment