Fixit – Empty Image

This test determines if your page has any empty image tags (image tags with no ‘src’ attribute or an empty ‘src’ attribute). Leaving image tags empty require processing that is ultimately wasted. When image tags need to be dynamically created this should happen with JavaScript programming.

Checking for empty image tags

This test checks to see if the page contains any empty image tags. If any empty image tags are detected then the test reports a FAIL.

If you receive a FAIL for this test, you should consider removing the empty image tags.

 

Reference

This test is based on a YSlow best practice. See http://yslow.org/faq/ for more details.

 

Leave a Reply

Exclusive tips, how-tos, news and comment

Receive monthly updates on the world of mobile dev.

Other Products

Try the world’s leading device detection solution at
DeviceAtlas - Try the world’s leading mobile device detection solution

Evaluate your websites’ mobile readiness with
mobiReady - Evaluate your websites’ mobile readiness.

© 2023 DeviceAtlas Limited. All rights reserved.

This is a website of DeviceAtlas Limited, a private company limited by shares, incorporated and registered in the Republic of Ireland with registered number 398040 and registered office at 6th Floor, 2 Grand Canal Square, Dublin 2, Ireland