XHTML

Currently Browsing Category 'XHTML'

Self-Closing elements in your schema?

by Joseph on Apr 10th in compatibility, Expression Web 2, HTML, Schema errors, XHTML

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

Powered By Wordpress Designed By Ridgey