Free, tested & ready to use examples!
AnyExample.com
 
Web anyexample.com
 


AnyFormat.io - convert files and webpages to any format!

Disable Internet Explorer Image Toolbar and retain XHTML validity

abstract 
It is possible to disable Internet Explorer feature called "Image Toolbar" with attribute galleryimg="false" in IMG tag. However, document with such attribute will not pass W3 XHTML Validation, because galleryimg it's not defined by XHTML standard.
compatible 
  • Internet Explorer 6
  • It is possible to disable Internet Explorer Image Toolbar for every site image with following META-tag:

    <meta http-equiv="imagetoolbar" content="no">

    Adding this META tag to HEAD section does not break XHTML standard. Example:

    source code: XHTML
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html> 
    	<head> 
    		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    		<meta http-equiv="imagetoolbar" content="no" /> 
    		<title>Empty XHTML 1.0 Strict Document</title> 
    	</head> 
    	<body> 
     
    	Visit <a href="http://www.anyexample.com/">AnyExample.com</a>!
     
    	</body> 
    </html> 
     
    tested 
  • Windows XP :: Microsoft Internet Explorer 6.0
  •  


     
    © AnyExample 2010-2013
    License | Privacy | Contact