In the code below, I am curious if it matters in which order I put the name, id, class, type, and value. I would assume it doesn't really matter, but then I begin to wonder about using it with JavaScript and load times. If I am triggering the input based in the ID with JavaScript, would it be better to place the id first? Would that increase load times? Or is the order of these things just plain insignificant?
<input name="last_name" id="last_name" class="placeholder" type="text" value="" />
The order makes no difference.
Hooking in to an ID on an element will only work once the element is loaded into the DOM. Attribute order has no effect on this.