I often need to develop templates for sending emails. However in some cases using the style
tag to make the style definitions does not work. Thus, you need to set the style values for the inline elements.
For those who do not understand what "inline" is, it would look like this:
<div style="background-color: red">
<h1 style="text-align:left">Olá, mundo</h1>
</div>
So, if I then needed to make a hover
, which is usually done by the style
tag or by an external css document, would there be some way to do it inline?
I know it's possible to do with Javascript, but it would probably also be blocked by email.
Is there any way to set hover
, active
, visited
and etc via inline style definition?