HTML formatting

Hi all, am trying to format an email, but not sure if I’ve got some of these tags correct? Can anyone see any obvious errors please? Is there an online tool that can check your CCS for you?

<body bgColor="#fff" style="font-family: Verdana; font-size: 13px; color:black; margin:0; padding:0;">

<table cellspacing="10px" cellpadding="10px" width="100%" bgcolor="#008EA6" border:0 style="border:10px solid #008EA6; background:#008EA6;">
<tr>
<td bgcolor="#FEBC11">

<table style="border:10px solid #FEBC11; background:#FEBC11;" cellpadding="24" width="100%" bgcolor="#FEBC11" border="0" style="border:10px solid #FEBC11; background:#FEBC11;" cellspacing="0">

Seeing as it’s Google I won’t vouch for how good it might be, but there is this
https://www.google.com/webmasters/markup-tester

Thanks, but got this:

How can I learn to format properly the tags, when to put the = in and when to put the : in there for example? :tired_face:

Writing for email clients is a lot like writing web pages for last century browsers (table layout, inline styles). But the syntax for attribute “=“s and style property “:”s are the same.

One major exception is many email clients won’t use a <head>, (hence the inline styles). And you can’t depend on images being displayed or JavaScript support.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.