I noticed in our code that there is a disabled = ture'
i the source code for anchor tag. I was wondering why it works in IE. I also searched the internet and it is also being used in a lot of source code via a search in the net. I have been searching if ture, a wrong spelling of true can also be used by IE.
Does anybody have any idea about this?
It used to be that to disable an element, you just did <input type="text" disabled>
, so most browsers don't really care what goes in that attribute. I believe making it disabled="disabled"
became a standard solely so that the code would be valid XML.
IE only checks for the existence of the disabled property. It's value doesn't matter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With