Home › Forums › CSS › Is there any difference between these two link formats? › Reply To: Is there any difference between these two link formats?
October 2, 2017 at 11:33 pm
#260859
JeroenR
Participant
I think it’s just a matter of taste. All the attributes are being parsed before rendering the element.
So the href
tells you something about the purpose of the anchor element, while the class
tells you something about how it should look.
In my opinion the purpose is more important than the look, so I would place href
before class
.