<form action="" method="">…</form>
<form method="" action="">…</form>
<input type="text" name="login" value="admin" id="login" class="form-control" required autofocus>
the order of attribute specifications in a start-tag or empty-element tag is not significant
For these purposes, the attributes must be compared as they were when the elements were created by the parser; two elements have the same attributes if all their parsed attributes can be paired such that the two attributes in each pair have identical names, namespaces, and values (the order of the attributes does not matter).
Authors are reminded that the processing for XML and HTML differs; in particular, even minor syntax errors will prevent a document labeled as XML from being rendered fully, whereas they would be ignored in the HTML syntax. ...
The DOM, the HTML syntax, and the XHTML syntax cannot all represent the same content.