html - Is an image that is display: none loaded by the browser? -
this question has answer here:
- does display:none keep elements loading? 2 answers
are these images loaded browser:
<div style="display: none"> <img src="/path/to/image.jpg" alt=""> </div>
or
<img src="/path/to/image.jpg" alt="" style="display: none;">
by "loaded browser" mean, these images loaded browser available right away when image no longer displayed none using css. taken cache or loaded anew moment no longer displayed none?
to answer question, loaded page (or event) loaded. , typically used when going display element using javasript.
Comments
Post a Comment