Skip to content

Commit

Permalink
Update 25-balise-picture.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-studio authored Jun 13, 2024
1 parent f953b6f commit f4cd133
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 25-balise-picture.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Exemple:
<img src="chat_mignon.jpg" alt="Un chat particulièrement mignon" loading="lazy">
</picture>
```
Note: les attributs "alt" et "loading" ne doivent figurer que sur la balise `<img>`, il n'est pas nécessaire de les dupliquer (voir [discussion Stackoverflow](https://stackoverflow.com/questions/24025464/lazy-loading-html5-picture-element)).


## Support dans les navigateurs

Expand Down

0 comments on commit f4cd133

Please sign in to comment.