The one that cannot be removed will still exist even if the alt attribute is added. The suggestion is that when the image request fails, display a default image or a prompt image indicating that the request failed, such as: Not much to say about the path, both absolute paths and relative paths are acceptable.
If the request fails, please assign a default picture
Give a default image. If successful, the requested image will be used. If failed, the default image will be used.
The one that cannot be removed will still exist even if the alt attribute is added. The suggestion is that when the image request fails, display a default image or a prompt image indicating that the request failed, such as:
Not much to say about the path, both absolute paths and relative paths are acceptable.
Call the error event of the image. If loading fails, a prompt or replacement image will be given