This is a discussion on "XHTML validation problems" within the Web Page Design section. This forum, and the thread "XHTML validation problems are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
XHTML validation problems
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
XHTML validation problems
I talked my boss into letting me update our site to XHTML/CSS compliance (mostly cause he'll go with anything I recommend without having to know why). When running the validator I came up with a few unexpected problems.
It doesn't like
Secondly if I leave these (or other) non-valid things in my XHTML what happens when different browsers encounter them? |
|
|
|
|||
|
I would assume that all browsers are happy with
onchange is a bit different, because I would assume that, due to your findings, it is not part of XHTML....? |
|
|||
|
onChange - Drop the capital C to lowercase for XHTML,
might try that for the capital J in Javascript too... |
|
|||
|
Note that XHTML requires you to define fully.
<script language="JavaScript" type="text/javascript"> That is somethng most people dont know or forget about XHTML ( and yea, I forgot to put it in my tutorial ) yes. it should be <select onchange="whatever();"> XHTML doesn't like caps. Didn't you read my tutorial!!! |
|
|||
|
Yeah, Netscape used to ignore events that didn't have camelcase though, so I've always been specific about that, but...screw NS.
|
|
|||
|
Hmm, this is what the validator gives me:
So what happens in the real world when I do something invalid, like use the name attribute in a form along with id? |
![]() |
| Tags |
| xhtml, validation, problems |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XHTML W3C validation problems | Tim356 | Web Page Design | 5 | Oct 11th, 2005 22:46 |
| W3C Xhtml Validation... | Pheonix | Implemented Suggestions | 13 | Oct 7th, 2005 12:44 |
| XHTML Validation Help | socalledlove | Web Page Design | 7 | May 3rd, 2005 21:06 |
| XHTML validation | keeps21 | Web Page Design | 4 | Mar 21st, 2005 08:27 |
| A few problems with XHTML validation | criticalerror | Web Page Design | 5 | May 3rd, 2004 19:35 |