[X]

HTML Saved From Microsoft Word

server side 1999 partly

Forty kilobytes of markup for a page of text, most of it describing a print layout nobody asked for.

In 2026: It still renders, which is the whole problem. The o: and mso- names are XML namespaces Word invented for itself. The empty paragraph tag o:p exists because Word needed somewhere to hang a paragraph mark.

Where it came from: Microsoft Word 97 and 2000 Save as Web Page output. Wikipedia

<html xmlns:o="urn:schemas-microsoft-com:office:office"
      xmlns:w="urn:schemas-microsoft-com:office:word">
<head>
<meta name=Generator content="Microsoft Word 9">
<!--[if gte mso 9]><xml>
 <o:DocumentProperties><o:Author>Dad</o:Author></o:DocumentProperties>
</xml><![endif]-->
<style>
 p.MsoNormal { mso-style-parent:""; font-size:12.0pt; font-family:"Times New Roman";
               mso-fareast-font-family:"Times New Roman"; }
 @page Section1 { size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; }
</style>
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><span style='mso-spacerun:yes'>&nbsp;&nbsp;</span>
  Hello, this is my web page.<o:p></o:p></p>
<p class=MsoNormal><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>
sandboxed demo · breaks nothing but itselfrestart

More in server side

all 6 in server side › · the whole library ›