W3 : character data is not allowed here html validation error
Posted on : Tue, 28th Apr 15 01:47 pm UTC
Error : Line 144, Column 6: character data is not allowed here
This is the most common error message that once may receive while trying to validate their html page. The reasons that may cause this error,
- There might be some character's in your code that is not allowed.
- You might have some text in your html body that is not a part of any of the tags like div,span, p or any other.
- You might have forget to surround an attribute value with single or double quotes.
- If you are using HTML 4.01 doctype, make sure that you do not have any self closing tabs (/>) if yes then remove those slashes.
Note : Sometimes some unwanted characters may get added to your file (copy + paste file format issues) that may cause this issue, in such a case you must check that the file encoding format is UTF-8, if not just do that using Text-Editors like Notepad++ or SublimeText.
mission is to share varied knowledge in technical
and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without
re-inventing the wheel. Technical posts include Learnings, Tutorials
, Video Tutorials, Code Snippets, Tips-n-tricks.
Follow us : Facebook
- Google +