Was können Entwickler, die responsive Bilder verwenden möchten, heute nutzen? Wir decken den aktuellen Status ab, z. B. Bild, img src oder srcset, und machen Vorschläge zur Art Direction.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-09 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-09 (UTC)."],[[["Developers can leverage modern techniques like the `\u003cpicture\u003e` element, `srcset`, and `sizes` attributes on `\u003cimg\u003e` tags to create truly responsive images that adapt to different screen sizes and resolutions."],["Art direction in responsive images involves serving different image crops or variations based on the user's viewport, ensuring optimal visual appeal and content clarity on any device."],["While the current state of responsive images offers many options, developers must thoughtfully consider the balance between performance and user experience to deliver the best possible results."]]],["Developers seeking responsive images can utilize several methods. The discussion will cover the current landscape of techniques, including the `\u003cpicture\u003e` element, `\u003cimg\u003e` tag with `src`, and `srcset` attribute. Additionally, the information will include guidance on employing art direction to tailor images for various screen sizes and resolutions. The provided information is for the current use of responsive images.\n"]]