Why does the option tag render selected=selected instead of just selected?
Attribute minimization (that is, specifying an attribute with no value) is a place where HTML violates standard XML syntax rules. This matters a lot for people writing to browsers that support XHTML, where doing so makes the page invalid.It’s much better for Struts to use the expanded syntax, which works the same on existing browsers interpreting HTML, and newer browsers that expect XHTML-compliant syntax.
Related Questions
- Does SECURITRE log violations only, or does it have an option to log all or selected transactions for debugging purposes?
- Does one have to be selected to go Marine option at the Naval Academy, or is it the cadets choice?
- Who pays for the demonstration project and the construction of a selected option?