Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem of using IMG tags in png pictures in html

Shulou Source: shulou.com Published: 2022-06-01 12:39:48 11月15日 Update

This article is about how to solve the problem of using IMG tags in png images in html. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Planning png pictures in html IMG tags use PNG pictures in IE6 background is not clear

1. Create a new JS file as iepngfx.js, and copy the above JS code into the JS file

2. Only IE6 can read the new JS file iepngfx.js in HTML.

Only allow IE6 to read this JS file:

3. Apply picture tags in html, use PNG pictures in IMG, and try PNG pictures in IE6 to see if you can understand them thoroughly.

Thank you for reading! On "how to solve the problem of the use of IMG tags in png images in html" this article shares here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!

Tags: Pictures tags files questions content methods more articles good practical code only background fame copy article see knowledge background reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Xiaomi MySQL Microsoft Linux