---
title: "Comment by Kerem on \"How to serve different image formats in websites using the HTML5 picture tag?\" | Hashnode"
description: "i checked on iPhone and saw a Hause. Then i find in code for Safari but that was a mause."
url: "https://hashnode.com/posts/serve-different-image-formats-using-picture-tag-html5/5fd50ddc27af257395891152/comment/5fd61733f60e3973bae6c299"
---

[Discussion](https://hashnode.com/posts/serve-different-image-formats-using-picture-tag-html5/5fd50ddc27af257395891152)

Comment [How to serve different image formats in websites using the HTML5 picture tag?](https://hashnode.com/posts/serve-different-image-formats-using-picture-tag-html5/5fd50ddc27af257395891152)

[Kerem](https://hashnode.com/@gl0kom)

[Dec 13, 2020](https://hashnode.com/posts/serve-different-image-formats-using-picture-tag-html5/5fd50ddc27af257395891152/comment/5fd61733f60e3973bae6c299)

i checked on iPhone and saw a Hause. Then i find in code for Safari but that was a mause.

[MELVIN GEORGE](https://hashnode.com/@melvingeorge)

[Dec 13, 2020](https://hashnode.com/posts/serve-different-image-formats-using-picture-tag-html5/5fd50ddc27af257395891152/comment/5fd61733f60e3973bae6c299#reply-5fd64828f60e3973bae6c5d8)

[Kerem](https://hashnode.com/@gl0kom)

That's intended. 🙂

In some of the Safari browsers `webp` image formats are not supported yet and thus it will show the picture of the mouse image which is a `jpg` image.

If you open the link in chrome browser, it will show the image of the house which is a `webp` image since chrome supports `webp` images.

I made the code like that to show that it will show different images in different browsers.
