Originally Posted by felgall
HTML is NOT case sensitive and so if the page is HTML then they are the same.
According to the relevant part
of the HTML 4.01 specification, the value of the id
attribute is case‐sensitive. That seems to mean case‐insensitive handling is a bug in Internet Explorer up to version 7; this seems to be confirmed here
. According to the second secondary source, Mr Jís example code would also be invalid if both IDs were used in the same document because case‐insensitive matches are not permitted for names and IDs.
For every complex problem, there is an answer that is clear, simple, and wrong.
Last edited by Arbitrator; 12-27-2006 at 10:21 PM..
Reason: Additional information added.