External css in html email? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

External css in html email?

If I code an email template in html, it is probably wisest to embed the CSS directly in the html? Or is there a "foolproof" way to link an external CSS file without it causing issues? The images are on the web server, so wouldn't it be smarter having the CSS file there, too, instead of in the email for everyone to see, especially if it contains a company's corporate design elements?

29th May 2018, 7:16 AM
Betty
1 Answer
+ 2
This isn't recommended. Bundle all your CSS in the email.
31st May 2018, 3:05 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar