Friday, June 23, 2017

How to attribute Minimization ?

Attribute Minimization Is Forbidden

Wrong:
<input type="checkbox" name="vehicle" value="bus" checked />
Correct:
<input type="checkbox" name="vehicle" value="bus" checked="checked" />
Wrong:
<input type="text" name="lastname" disabled />
Correct:
<input type="text" name="lastname" disabled="disabled" />