Lazy loading de imágenes ya forma parte del estándar HTML
Read OriginalEl artículo explica cómo el atributo 'loading' para lazy loading de imágenes e iframes se convirtió en parte del estándar HTML en febrero de 2020. Detalla el soporte actual en navegadores, muestra cómo detectar si un navegador es compatible y proporciona ejemplos de código HTML para implementar esta funcionalidad de forma nativa, incluyendo un 'polyfill' para navegadores que aún no la soportan.
0 Comments
Comments
No comments yet
Be the first to share your thoughts!
Top of the Week
1
The Learning Loop and LLMs
Martin Fowler
•
1 votes