🛍 Black Friday Sale: Massive DISCOUNT + $15K+ in Partner Offers!

ERFAHREN SIE MEHR!

What is Srcset?

Srcset ist ein HTML-Bildattribut, das unterschiedliche Bilder für unterschiedliche Bildschirmgrößen angibt, um unabhängig von der Bildschirmgröße des Anzeigegeräts reaktionsfähige, mobilfreundliche Bilder anzuzeigen.

The srcset attribute contains the URL of multiple images and the screen size at which each image should be displayed. So, in essence, visitors with devices with wide screens are shown larger images, while those with smaller screens are shown smaller images. 

The srcset attribute is specified using the format srcset="url size, url size" where the URL points to the location of the image and size specifies the screen size at which the image should be displayed.

The attribute can be included inside the image HTML element, as shown below. 

<img srcset="yoga-mat-480w.png 480w, yoga-mat-800w.png 800w" />
🇩🇪 Deutsch