HTML5 - puis-je utiliser la Largeur et la Hauteur dans l'IMG?

Il est Légal d'utiliser ce code:

<img src="...(here image)...." width="50px" height="50px" />

Ou j'ai besoin de l'utiliser:

<img src="...(here image)..." style="width: 50px; height: 50px;" />
InformationsquelleAutor Daniel | 2011-07-22