i came across this HTML tag which has a disabled optional attribute “disabled”, however it seem to have worked for a long time in IE6 environment, it looks like it is not declared correctly.
<input name="selectBoltonButton" type="Submit" value="Select Bolt-Ons " disabled>
Ideally, it should look something like this: according to w3schools:
<input name="selectBoltonButton" type="Submit" value="Select Bolt-Ons " disabled="disabled">
They’re both valid HTML, while only the latter is valid XHTML. SGML allows this, and so do its HTML children, where this is called a “boolean attribute”. HTML5 retains this concept.
XHTML, on the other hand, is a dialect of XML, which has a restriction that all attributes must have values.