HTML 电子邮件构建 - 在图像 alt 属性中使用长文本块



我写了一个漂亮的电子邮件模板,一切都进展顺利 - 除了我的替代文本。

我用简短的替代文本标记的图像工作正常。

我放置文本段落的图像没有显示(这可能是由于它溢出了框(。

我曾经在一家电子邮件营销公司工作,我敢肯定我记得能够在alt属性中使用一长段文本。

我尝试使用内联样式应用小字体大小、行高和空格:pre。我还将我的文本分成多行。一切都没有效果。

石蕊传奇人物能否分享他们丰富的知识并帮助我显示更长的替代文本块?

这是我精神错乱的一个例子:

<tr>
<td width="640" align="center" valign="top">
<img src="/email/241018/infographic_02.png" class="full-width" alt="DIGITAL | Using a range of programming languages,
we build digital platforms that often act as a 
campaign hub for our clients’ marketing efforts. 
This ranges from bespoke informational websites 
profiling more than 1000 products through to 
more concise microsites developed as a knowledge 
hub for a campaign as well as tailored product 
and informational apps designed to appeal to 
specific target groups. Email marketing, webinars 
and digital surveys are further digital tools 
which we implement on behalf of our clients. 
As well as building sites we also utilise 
search engine optimisation techniques to ensure 
that our client’s websites are reaching optimum 
performance." width="640" height="287" border="0" style="display:block; font-size: 12px; line-height: 14px; white-space:pre;"></a>
</td>

谢谢,杰森。

如果替代文本的长度大于图像的宽度,则大多数电子邮件客户端都不会显示该文本。我认为没有任何办法解决这个问题。

替代选项可能是使用背景图像并将副本覆盖为实时文本,或者缩短替代文本以更好地描述图像,而不是直接替换复制块。

最新更新