HTML is often very well formed, but not be valid XML. W3Schools isn't probably the most authoritative reference. Edit: Given that we are all ridiculous about specs, I feel it really worth mentioning that In accordance with dev.w3.org: These factors are forbidden from containing any information in the slightest degree. In HTML, these elements