Saint Paul Public Schools
UrbanPlanet Help Site
Home > Content Display > MS Word
MS Word Copy and Paste
The following two lines were copied in MS Word and pasted into the web page.

To:       All staff

 

From:   Me


The HTML code below was the result of the above lines. They contain much non-standard code which creates multiple display errors in browsers other than Internet Explorer 5 or 6 on the PC besides being very hard to edit.

<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">The following two lines were pasted using the default settings in MS Word</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">To:<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>All staff</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">From: Me</SPAN></FONT>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">


When the "clean" button in the editing frame is clicked the HTML code above is cleaned up to make standard HTML without errors. It is also missing some font and font size information that is better set by the stylesheet for your web page.

<P>To:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; All staff</P>
<P>&nbsp;</P>
<P>From: Me
<P>

The result of the code above is below. It is very close to the original code in appearance and produces no errors.

To:       All staff

 

From: Me