'When the srcset code loads the file, how can I change what it recognizes as a character to a location?
I took a class to learn srcset code using vscode. In the src code, the picture file in the same folder is loaded. If the srcset code tries to load the picture file in the same folder, it is recognized as text rather than location, so the srcset code cannot be used. Please suggest a solution. Thank.
<img
src="iamges/big.png"
srcset="images/small.png 300w,
images/medium.png 450w,
images/big.png 600w"
alt="responsive images"
/>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
