Is it possible to put an html style tag in tag tags encoding html letters?

I am encoding an html email template. All my code is embedded. Between the <style> tag inside the <head> there are media queries.

Can I put the <style> tag inside the <body> ?
Will this work with all major email clients?

+3
source share
2 answers

It depends on the client. See a similar answer here .

Some customers will support the use of styles in the body, but usually not in the head. Since there really is no way to enable css, it makes sense that it will be so.

+1
source

The tag style inside the body has almost identical compatibility with the style tag in the head. Each client offers a different quirk with this, so overall I would recommend using a style in your head if you cannot.

For example, Gmail will strip the style tag no matter where you place it. It is best to constantly test using the Litmus or Email service on Acid.

Good link for CSS compatibility in email https://www.campaignmonitor.com/css/

+1
source

All Articles