Hiding images that failed to load

前端 未结 4 2005
执笔经年
执笔经年 2021-02-01 23:09

I have an Android application that generates some HTML which is rendered locally, in a Webkit view.

The details of the HTML generation aren\'t really that important exce

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-01 23:14

    If your images are not content to be consumed instead of text or to supplement text then they should be CSS background images. Background images are completely passive and do not show at all if they cannot be retrieved or processed.

提交回复
热议问题