Nope. You're entirely free to use either.
One of the reasons both exist is so it's less work to work with them in javascript.
var lumpOfHTML="<a href='http://google.com'>Link 1</a>";
var anotherLumpOfHTML='<a href="http://google.com">Link 1</a>';
Both of these will do the same thing.