Overview
Empty src or href attributes can cause multiple problems.
Empty src or href attributes can cause multiple problems.
You might expect a browser to do nothing when it encounters an empty image src. However, this is not the case in most browsers. IE makes a request to the directory in which the page is located; Safari, Chrome, Firefox 3 and earlier each make a request to the actual page itself. This behavior could possibly corrupt user data, waste server computing cycles generating a page that will never be viewed, and in the worst case, cripple your servers by sending a large amount of unexpected traffic.