How to stop broken images showing

后端 未结 12 2376
谎友^
谎友^ 2021-01-02 12:08

I have a table with some images that I want to start out with no images in them.I have set the src=\"\".But when viewed in a browser it shows broken image pics.



        
12条回答
  •  悲&欢浪女
    2021-01-02 12:37

    That's not really an answer to your question, but for completeness' sake: One can remove the image on a loading error (e.g. with an inline script).

    
    

提交回复
热议问题