Delete image tags with empty SRC attributes


If there is an image tag with an empty src attribute, the browser will call the directory in which the page is located, generating unnecessary, additional HTTP requests.

The following image tag will request the foo directory’s index file from the server:

<img src="" alt="">

for a page located at: http://domain.tld/foo/bar.html

This best practice should only be applied if it is coherent with your project's specifications.
Under CC-By-NX-SA license