html - Is an image that is display: none loaded by the browser? -


this question has answer here:

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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -