image placeholder

  • web 개발하면서 샘플 이미지를 넣어보고 싶을 때

Placeholder.com

index.html
1
2
<img src="https://via.placeholder.com/468x200?text=Sample+Image" />
<img src="https://via.placeholder.com/{가로}x{세로}?text={문자열}" />