[thelist] Commented Out Images, Is the file still sent?

Jeff Howden jeff at jeffhowden.com
Wed Sep 24 14:48:33 CDT 2003


> From: David Dorward
> > If one comments out an image tag is the images still
> > sent but not displayed?  In other words is the image
> > using bandwidth?
> Browsers should ignore code inside comments entirely.
> They are not equiv to display: none in CSS.

careful with that statement.

images in an element set to display: none are not rendered and therefore not
downloaded from the server until such time as the display property is
changed to something else.


Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/

More information about the thelist mailing list