HTML Validation query |
HTML Validation query |
James |
Apr 28 2007, 11:24 PM
Post
#1
|
Advanced Member Group: Members Posts: 103 Joined: 29-September 06 From: Western Australia Member No.: 269 |
I just used the WDG HTML Validator to check my code and the only error i had was this one:
Line 13, character 1: <!- ************* BEGINNING OF PAGE HEADER CODE ************ ... ^ Error: text is not allowed here; try wrapping the text in a more descriptive container There were several instances of this error report, one for each comment I have inserted into the HTML page (previoulsy there were no errors ... probably before I added comments) I would be obliged if someone could explain why I am getting this error in validation? Kind regards, James. |
Brian Chandler |
Apr 29 2007, 03:15 AM
Post
#2
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
Try changing the comment start marker to <!-- (two hyphens). See if that fixes it / moves the problem...
|
pandy |
Apr 29 2007, 06:11 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
It should. See http://htmlhelp.com/faq/html/basics.html#html-comments . Also, the comment should end with '-->'. I assume the '...' was just for the forum posting but what do I know.
|
Lo-Fi Version | Time is now: 28th April 2024 - 04:31 AM |