You can't have more than one attribute with the same name on an element.
Order of attributes is not relevant.
They are attached to the start-tag, but not to the end-tag.
<name nickname="007">
<first>Bond</first>
<last>James</last>
</name>
Attributes must have values.
Those values must be in quotes.
Either single quotes or double quotes are fine, but they have to match.
<input checked='true'> or <input checked="true">
1.4.Attribute
1.4.1.
Attributes are simple name/value pairs associated with an element