프로필 사진
Coddy HTML 여정의 Fundamentals 섹션에 포함된 레슨 — 60개 중 32번째.
챌린지
쉬움자, 이제 프로필 사진을 추가할 시간입니다! 원하는 이미지를 무엇이든 사용할 수 있습니다. 아래 예시에 있는 링크를 자유롭게 사용해 보세요.
- 첫 번째 div(헤더 섹션) 다음에 또 다른
<div>를 만듭니다. 그 안에<img>태그를 추가하세요. src를 이미지 링크로 설정하고,width와height속성을 사용하여 크기를 조절하세요.
예를 들어:
src-https://storage.googleapis.com/coddy-15505.appspot.com/public/avatars/avatar25.pngwidth- 200height- 200"
직접 해보기
<!DOCTYPE html>
<html>
<body>
<!-- Header Section -->
<div>
<h1>John Doe</h1>
<p>Web Developer | Creative Thinker</p>
</div>
</body>
</html>