HTML validation – "character data is not allowed here" about footer div
-
Hi, I’m trying to validate the HTML at https://borealis.webson.ee – I’m down to my last error, where I dont understand why it’s an error:
Line 124, Column 5: character data is not allowed here
?<div id=”footer”>
?
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include:putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or
forgetting to quote an attribute value (where characters such as “%” and “/” are common, but cannot appear without surrounding quotes), or
using XHTML-style self-closing tags (such as <meta … />) in HTML 4.01 or earlier. To fix, remove the extra slash (‘/’) character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML.I’m using a separate footer div inside the body tag. Is that wrong somehow? Or a deprecated behaviour? Maybe someone smarter in XHTML can comment on that.
Jaan-Matti
- The topic ‘HTML validation – "character data is not allowed here" about footer div’ is closed to new replies.