I read the same question on SO, but it was only addressing HTML complaint point of view. Moreover with HTML5 it does not make so much difference. I assume (without anything to back up my assumption), that the first approach is might be better from SEO point of view.
So is there any difference?