The picture below will show one image if webp is supported by your browser and another if it is not (using picture tag syntax):
The next image will be redirected internally to webp by the server, if the server detects that your browser supports webp ("varied image response")