I'm going around for quite some hours now how to resolve this warning. Although I know that the code will run just fine but I can't stand to see this warning. I have this
<select multiple class="form-control">
 <option>1</option>
 <option>2</option>
 <option>3</option>
 <option>4</option>
 <option>5</option>
</select>
and Visual Studio is giving me this Warning
Warning 1 Validation (XHTML5): This attribute name must be followed by an equal (=) sign and a value. If the value is in quotation marks, the quotation marks must match.
although w3schools.com states and I'm sure that the correct code is my code above. And I've read somewhere that in Visual Studio 2013 they resolved this issue (I'm using 2012) But in the comment section they said that they're using 2015 but still the warning pops. Any fix?
In XHTML, attribute minimization is forbidden, and the multiple attribute must be defined as
<select multiple="multiple">
                        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