---
title: "Discussion on \"Better responsive images with srcset and sizes attributes\" | Hashnode"
description: "Discussion on \"Better responsive images with srcset and sizes attributes\". Introduction\nsrcset and sizes are two HTML attributes that can be used to create responsive images.\nThey are used to specify the image source and the size of the image. They are used together to create images that are optimized for the device they ar..."
url: "https://hashnode.com/posts/better-responsive-images-with-srcset-and-sizes-attributes/69623ed581f7402ca7176e4b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Better responsive images with srcset and sizes attributes](https://kmstech.co/blogs/better-responsive-images-with-srcset-and-sizes-attributes?utm_source=hashnode&utm_medium=feed)

Introduction srcset and sizes are two HTML attributes that can be used to create responsive images. They are used to specify the image source and the size of the image. They are used together to create images that are optimized for the device they ar...

Jan 10 · 5 min read · kmstech.co  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#image](https://hashnode.com/tag/image)
-   [#responsive](https://hashnode.com/tag/responsive)
-   [#sizes](https://hashnode.com/tag/sizes)
-   [#srcset](https://hashnode.com/tag/srcset)

## Written by

[KMS Tech](https://hashnode.com/@KMSTech)

@KMSTech · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@KMSTech)

Sacred Intention Leads to Perfection

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
