I've did some modification in the code and now its working fine with doctype in email level.
I have added doctype first then meta then the <html...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta class="mktoString" default="en" id="emailLanguage" mktomodulescope="false" mktoname="Email Language" />
<html xmlns="http://www.w3.org/1999/xhtml" lang="${emailLanguage}" xml:lang="${emailLanguage}"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com
:office:office">
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<!--Global Variables Begin-->
<meta class="mktoString" default="" id="emailTitle" mktomodulescope="false" mktoname="Email Title" />
<!--Other Meta Tags Begin-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width, minimal-ui, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>${emailTitle}</title>
<head>
<body>Container area
</body>
</html>
Thanks
A reasonable adjustment, though the original doesn't have a problem for me. But I wouldn't have a line break after the <meta> it as it makes the HTML look sloppy, albeit valid.
Hi Sanford,
Need your help here, I don't know why but the lang attribute is not working. Is there any specific code we need to take care of while using the lang attribute? I am using "es" as lang value but it's reading it only in an English accent.
I had a few questions about this template setup as well -- I might have been working fast, but Im pretty sure I setup a new email template and this is what populated in the template editor but definitely not something Im using for production.