Can anyone explain the meaning of the attribute complete?
I read somewhere that it might have to do with DOM.
<img src="/folder/pic.jpeg" complete="complete" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s set when the image has been downloaded.
I’ve never seen it explicitly in the HTML like in your example (MDN says it’s not an attribute for a
imgelement) . I just use to check if the image has been downloaded with JavaScript (there are cross browser issues with that, however). The property on aHTMLImageElementreturns aBoolean.