function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jack Davis 3Jack Davis 3 

Chrome HTML to Visualforce

I'm trying to convert a Chrome HTML page to visualforce email template in Salesforce. I am getting these errors.

Error: Call_Monitoring_Test2 line 60, column 12: Open quote is expected for attribute "class" associated with an element type "div"
Error: Open quote is expected for attribute "class" associated with an element type "div".

Below is the code used. 

Can anyone help
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></meta>
<meta name="Generator content"="Microsoft Word 15 (filtered)"></meta>
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin-top:0cm;
	margin-right:0cm;
	margin-bottom:8.0pt;
	margin-left:0cm;
	line-height:107%;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
	{mso-style-link:"Header Char";
	margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
	{mso-style-link:"Footer Char";
	margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.HeaderChar
	{mso-style-name:"Header Char";
	mso-style-link:Header;
	font-family:"Calibri",sans-serif;}
span.FooterChar
	{mso-style-name:"Footer Char";
	mso-style-link:Footer;
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{font-family:"Calibri",sans-serif;}
.MsoPapDefault
	{margin-bottom:8.0pt;
	line-height:107%;}
 /* Page Definitions */
 @page WordSection1
	{size:595.3pt 841.9pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
-->
</style>

</head>

<body lang=EN-GB style='word-wrap:break-word'>

<div class=WordSection1>

<p class=MsoNormal style='margin-bottom:0cm'>                                </p>

<p class=MsoNormal style='margin-bottom:0cm'>&nbsp;</p>

<p class=MsoNormal style='margin-bottom:0cm'>                   <b><span
style='font-size:16.0pt;line-height:107%'>Call Quality Feedback</span></b> <b><span
style='font-size:16.0pt;line-height:107%'>Templates</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm'><b><span style='font-size:16.0pt;
line-height:107%'>&nbsp;</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm'><b><span style='font-size:16.0pt;
line-height:107%'>&nbsp;</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm'><span style='font-size:14.0pt;
line-height:107%'>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm'><u>Agent Individual Call Pass:</u></p>

<p class=MsoNormal style='margin-bottom:0cm'><u><span style='text-decoration:
 none'>&nbsp;</span></u></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>Hello [Agent]</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>&nbsp;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>Well done! We have reviewed your call and you have passed.
The call we listened to was [link to call] from [date of call]. Your scores
were;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>&nbsp;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>Customer Experience:                      %</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>Process:                                            %</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>Regulation &amp; Compliance:               Pass</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>&nbsp;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>To help you keep up the good work, please take the time to
review the following key points that we noted during your call:</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>&nbsp;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>What you are doing really well;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>[text from call monitoring form]</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>&nbsp;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>Where you can improve even further;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>[text from call monitoring form]</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>&nbsp;</span></i></p>

<p class=MsoNormal style='margin-bottom:0cm'><i><span style='font-size:10.0pt;
line-height:107%'>If you have any questions, or would like some further
information please contact callquality@verexinsurance.co.uk</span></i></p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal>&nbsp;</p>

</div>

</body>

 
ShirishaShirisha (Salesforce Developers) 
Hi Jack,

Greetings!

Please make sure you use beginning and eding tags for <div> properly to avoid issues.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri