JPEG, GIF and PNG can be displayed with the img tag and will work in all browsers, the object element can be use for displaying images specifying its MIME type, but what other graphic formats are supported by img or object tag in most browsers without installing plugins? (TIF, SVG, PCX, PICT, etc..)
相关问题
- How to include a safari only style in scss ? [dupl
- open source, multi-platform, browser-based screen
- can an element have a a decimal height in html/css
- Capture the enter key cross-browser, my solution i
- What browsers currently implement support for the
相关文章
- Stop automatic scrolling on page content change
- Chrome (windows) does not hide scrollbar
- True Center Vertical and Horizontal CSS Div [dupli
- The height of the code-mirror block are not the sa
- Why does my form not upload files in Internet Expl
- Why doesn't this script work with successive p
- Buttons size not equal in IE and Firefox
- event.preventDefault() or return false don't w
Until 2006, IE didn't deal properly with PNGs that used the alpha channel, while Firefox and other (nearly) standards conforming browsers did. There is still a lot of IE 6 out there, judging by my apache logs.
There's an excellent chart on wikipedia that lists common image types and their support by browser.
The file types you listed (jpg, gif and png) seem to be the main formats supported by nearly every browser, albeit with certain caveats:
BMP will work most anywhere.
But for web work, you should probably stick to the three you listed in your question.