Skip to Content
한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트
book

한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트

by 한성용, 이선 브라운
April 2016
Beginner to intermediate
389 pages
9h 8m
Korean
Hanbit Media, Inc.
Content preview from 한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트
176
한 권으로 끝내는 Node & Express
11.8.1.
HTML
이메일과 이미지
HTML
이메일에 이미지를 넣을 수 있긴 하지만, 필자는 그렇게 하지 않기를 강력히 권합니다.
이미지는 이메일 메시지를 부풀리고, 일반적으로 좋은 방식으로 간주하지 않습니다. 이메일에
사용할 이미지는 웹 서버에 보관하고 이메일에서는 적절히 링크해야 합니다.
정적 자원 폴더에 이메일 이미지를 보관할 전용 위치를 만드는 게 가장 좋습니다. 사이트와 이
메일에 함께 쓰는 자원(로그 등)도 분리하는 편이 좋습니다. 이렇게 하면 이메일 레이아웃이
망가질 가능성을 줄일 수 있습니다.
이제 메도라크 여행사 프로젝트에 이메일 자원을 추가해봅시다.
public
디렉터리에
email
브디렉터리를 만듭니다. 그 디렉터리에
logo
.
png
와 기타 이메일에 사용할 이미지를 저장합니
다. 그러면 다음과 같이 이메일에서 이 이미지들을 바로 쓸 수 있습니다.
<
img src
=
"//
meadowlarktravel
.
com
/
email
/
logo
.
png
"
alt
=
"
Meadowlark Travel
">
NOTE
_
다른 사람에게 이메일을 보낼 때는 당연히
localhost
는 쓰지 말아야 합니다. 사람들이 서버를 운
영하지도 않을 테고, 포트
3000
이 열려 있을 가능성은 더 적으니까요. 메일 클라이언트에 따라서
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

한선용, 이선 브라운

Publisher Resources

ISBN: 9788968482229