<!-- Responsive <picture> Tag (Optimized by PixelDevTools) -->
<picture>
<source
type="image/webp"
srcset="/images/hero-banner-400.webp 400w,
/images/hero-banner-800.webp 800w,
/images/hero-banner-1200.webp 1200w,
/images/hero-banner-1600.webp 1600w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 75vw, 1200px"
/>
<img
src="/images/hero-banner-1200.webp"
alt="hero-banner"
loading="lazy"
decoding="async"
width="1600"
height="900"
style="width: 100%; height: auto;"
/>
</picture>// Next.js Image Component Snippet
import Image from 'next/image';
<Image
src="/images/hero-banner-1600.webp"
alt="hero-banner"
width={1600}
height={900}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
priority={false}
className="w-full h-auto"
/>