Soldato
- Joined
- 27 Dec 2005
- Posts
- 17,316
- Location
- Bristol
I feel like I'm posting a thread a day here so sorry for the spam. I'm currently trying to W3C validate and tidy up the code of a site, most of which I can deal with fine and are simply things that I've slipped up on before.
However I'm currently trying to validate a page containing a form. W3C is kicking up 1 warning and 2 errors:
Now after moving some code around to try and get a look at what precedes that example it turns out that it's the forms hidden text field containing the users PHPSESSID. I haven't coded this so I assume it's inputted by the browser automatically. Which raises the question, how on earth do I go about fixing it?
However I'm currently trying to validate a page containing a form. W3C is kicking up 1 warning and 2 errors:
NET-enabling start-tag requires SHORTTAG YES.
…e="4e1645ad2d53477f131f242a2c26b488" />
document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
…e="4e1645ad2d53477f131f242a2c26b488" />
character data is not allowed here.
…="4e1645ad2d53477f131f242a2c26b488" />
Now after moving some code around to try and get a look at what precedes that example it turns out that it's the forms hidden text field containing the users PHPSESSID. I haven't coded this so I assume it's inputted by the browser automatically. Which raises the question, how on earth do I go about fixing it?