1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
8 <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9 <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
12 <title>Status for Andrew DeFaria: Why MS Word is a bad HTML editor</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15 <link rel="prev" href="http://defaria.com/blogs/Status/archives/000633.html" title="Turning on HTML for Exchange/IMAP" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/000636.html" title="GPDB Enhancements/Fixes" />
19 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
20 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
21 xmlns:dc="http://purl.org/dc/elements/1.1/">
23 rdf:about="http://defaria.com/blogs/Status/archives/000634.html"
24 trackback:ping="http://defaria.com/mt/mt-tb.cgi/23"
25 dc:title="Why MS Word is a bad HTML editor"
26 dc:identifier="http://defaria.com/blogs/Status/archives/000634.html"
27 dc:subject="Texas Instruments"
28 dc:description=" Described a little bit about why MS Word is not a good HTML editor..."
30 dc:date="2007-04-21T20:56:37-06:00" />
37 <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
39 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
41 <div id="container-inner" class="pkg">
44 <div id="banner-inner" class="pkg">
45 <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
46 <h2 id="banner-description">Searchable status reports and work log</h2>
51 <div id="pagebody-inner" class="pkg">
53 <div id="alpha-inner" class="pkg">
55 <p class="content-nav">
56 <a href="http://defaria.com/blogs/Status/archives/000633.html">« Turning on HTML for Exchange/IMAP</a> |
57 <a href="http://defaria.com/blogs/Status/">Main</a>
58 | <a href="http://defaria.com/blogs/Status/archives/000636.html">GPDB Enhancements/Fixes »</a>
62 <div class="entry" id="entry-634">
63 <h3 class="entry-header">Why MS Word is a bad HTML editor</h3>
64 <div class="entry-content">
65 <div class="entry-body">
67 <li>Described a little bit about why MS Word is not a good HTML editor</li>
70 <div id="more" class="entry-more">
71 <p>LeGrand, Christina wrote:</p>
73 <blockquote type=cite>
74 <p>Larry, thanks for the great feedback! I have made the last three changes listed here - to the wording in the "Just the FAQs" section, the "ITS
75 in the Customer Success Story, and the URL in the LDM docs section. Great catches! For the first two suggestions, all secondary titles are Arial 11, so I am not sure why they look different in your Outlook, but I believe you that they do. If anyone knows of how to prevent this, please let me know!</p>
78 The proper way to "prevent" such things is to use the proper way to do
79 such things. To do this one should follow the standards and then
80 validate (as Regan said to Gorbachev "<a
81 href="http://www.brainyquote.com/quotes/quotes/r/ronaldreag147717.html">Trust
84 HTML headers should be done with the "H" tags of which there are H1 -
85 H6. IOW one should not be putting any kinds of font information such as
86 Arial nor point size in there. Such presentation information is best
87 left to the eventual reader, who may not have the font you've chosen
88 nor want Wingbats in Pink at 24 point! <br>
90 However if you must code in a layout that's what CSS is for.<br>
92 In any event Word, which this was made with, is an absolutely horrible
93 HTML editor! And I shall now show you some of the reasons why. I hope
94 you'll enjoy this ride as much as I will...<br>
96 First off MS Word created HTML pages contain a lot of bloat. What Word
97 does is include styling information at the beginning of the document to
98 cover MS Word "styles" then applies "styles" to the layout. This is
99 done, AFAICT, to attempt to get the web page to look "just like it did
100 in Word". In a sentence - It's bad web design and bloat to your web
101 pages let alone often non-standard and should be avoided at all costs.<br>
103 Here is the beginning bloat:<br>
105 <pre id="line165"><html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
106 xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
107 xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
108 xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
109 xmlns=3D<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/TR/REC-html40">"http://www.w3.org/TR/REC-html40"</a>>
113 <meta http-equiv=3DContent-Type content=3D"text/html; =
114 charset=3Dus-ascii">
115 <meta name=3DProgId content=3DWord.Document>
116 <meta name=3DGenerator content=3D"Microsoft Word 11">
117 <meta name=3DOriginator content=3D"Microsoft Word 11">
118 <link rel=3DFile-List href=3D<a class="moz-txt-link-rfc2396E" href="cid:filelist.xml@01C78350.D624B260">"cid:filelist.xml@01C78350.D624B260"</a>>
119 <link rel=3DEdit-Time-Data href=3D<a class="moz-txt-link-rfc2396E" href="cid:editdata.mso">"cid:editdata.mso"</a>>
123 v\:* {behavior:url(#default#VML);}
124 o\:* {behavior:url(#default#VML);}
125 w\:* {behavior:url(#default#VML);}
126 .shape {behavior:url(#default#VML);}
128 <pre id="line238"></style>
129 <![endif]--><o:SmartTagType
130 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
133 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
134 name=3D"PlaceType"/>
136 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
137 name=3D"PlaceName"/>
139 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
143 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
144 name=3D"PersonName"/>
145 <!--[if gte mso 9]><xml>
146 <o:OfficeDocumentSettings>
147 <o:DoNotRelyOnCSS/>
148 </o:OfficeDocumentSettings>
149 </xml><![endif]--><!--[if gte mso 9]><xml>
150 <w:WordDocument>
151 <w:SpellingState>Clean</w:SpellingState>
152 <w:DocumentKind>DocumentEmail</w:DocumentKind>
153 <w:EnvelopeVis/>
154 <w:ValidateAgainstSchemas/>
155 <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
156 <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
157 <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
158 <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
159 </w:WordDocument>
161 <pre id="line269"></xml><![endif]--><!--[if gte mso 9]><xml>
162 <w:LatentStyles DefLockedState=3D"false" LatentStyleCount=3D"156">
163 </w:LatentStyles>
165 </xml><![endif]--><!--[if !mso]>
167 st1\:*{behavior:url(#default#ieooui) }
172 /* Font Definitions */
175 panose-1:2 11 6 4 3 5 4 4 2 4;
176 mso-font-alt:Verdana;
178 mso-generic-font-family:swiss;
179 mso-font-pitch:variable;
180 mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
181 /* Style Definitions */
182 p.MsoNormal, li.MsoNormal, div.MsoNormal
183 {mso-style-parent:"";
185 margin-bottom:.0001pt;
186 mso-pagination:widow-orphan;
188 font-family:"Times New Roman";
189 mso-fareast-font-family:"Times New Roman";
191 a:link, span.MsoHyperlink
193 text-decoration:underline;
194 text-underline:single;}
195 a:visited, span.MsoHyperlinkFollowed
197 text-decoration:underline;
198 text-underline:single;}
200 {mso-margin-top-alt:auto;
202 mso-margin-bottom-alt:auto;
204 mso-pagination:widow-orphan;
206 font-family:"Times New Roman";
207 mso-fareast-font-family:"Times New Roman";
209 p.newslettertitle, li.newslettertitle, div.newslettertitle
210 {mso-style-name:newslettertitle;
211 mso-margin-top-alt:auto;
213 mso-margin-bottom-alt:auto;
215 mso-pagination:widow-orphan;
217 font-family:"Times New Roman";
218 mso-fareast-font-family:"Times New Roman";
220 p.newslettertext, li.newslettertext, div.newslettertext
221 {mso-style-name:newslettertext;
222 mso-margin-top-alt:auto;
224 mso-margin-bottom-alt:auto;
226 mso-pagination:widow-orphan;
228 font-family:"Times New Roman";
229 mso-fareast-font-family:"Times New Roman";
231 p.newsletterheading, li.newsletterheading, div.newsletterheading
232 {mso-style-name:newsletterheading;
233 mso-margin-top-alt:auto;
235 mso-margin-bottom-alt:auto;
237 mso-pagination:widow-orphan;
239 font-family:"Times New Roman";
240 mso-fareast-font-family:"Times New Roman";
242 p.newsletterbullet, li.newsletterbullet, div.newsletterbullet
243 {mso-style-name:newsletterbullet;
244 mso-margin-top-alt:auto;
246 mso-margin-bottom-alt:auto;
248 mso-pagination:widow-orphan;
250 font-family:"Times New Roman";
251 mso-fareast-font-family:"Times New Roman";
254 {mso-style-type:personal;
255 mso-style-noshow:yes;
256 mso-ansi-font-size:10.0pt;
257 mso-bidi-font-size:10.0pt;
259 mso-ascii-font-family:Arial;
260 mso-hansi-font-family:Arial;
261 mso-bidi-font-family:Arial;}
263 {mso-style-type:personal;
264 mso-style-noshow:yes;
265 mso-ansi-font-size:10.0pt;
266 mso-bidi-font-size:10.0pt;
268 mso-ascii-font-family:Arial;
269 mso-hansi-font-family:Arial;
270 mso-bidi-font-family:Arial;
273 {mso-style-type:personal;
274 mso-style-noshow:yes;
275 mso-ansi-font-size:10.0pt;
276 mso-bidi-font-size:10.0pt;
278 mso-ascii-font-family:Arial;
279 mso-hansi-font-family:Arial;
280 mso-bidi-font-family:Arial;
283 {mso-style-type:personal-reply;
284 mso-style-noshow:yes;
285 mso-ansi-font-size:10.0pt;
286 mso-bidi-font-size:10.0pt;
288 mso-ascii-font-family:Arial;
289 mso-hansi-font-family:Arial;
290 mso-bidi-font-family:Arial;
297 margin:1.0in 1.25in 1.0in 1.25in;
298 mso-header-margin:.5in;
299 mso-footer-margin:.5in;
306 <!--[if gte mso 10]>
308 /* Style Definitions */=20
310 {mso-style-name:"Table Normal";
311 mso-tstyle-rowband-size:0;
312 mso-tstyle-colband-size:0;
313 mso-style-noshow:yes;
315 mso-padding-alt:0in 5.4pt 0in 5.4pt;
317 mso-para-margin-bottom:.0001pt;
318 mso-pagination:widow-orphan;
320 font-family:"Times New Roman";
321 mso-ansi-language:#0400;
322 mso-fareast-language:#0400;
323 mso-bidi-language:#0400;}
325 <pre id="line430"></style>
326 <![endif]--><!--[if gte mso 9]><xml>
327 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
328 </xml><![endif]--><!--[if gte mso 9]><xml>
329 <o:shapelayout v:ext=3D"edit">
330 <o:idmap v:ext=3D"edit" data=3D"1" />
331 </o:shapelayout></xml><![endif]-->
336 Now wasn't that fun? <span class="moz-smiley-s1"><span> :-) </span></span><br>
338 After creating all that crud we are now able to apply it to our
339 content. Here's the part that does the heading:<br>
340 <blockquote><tt> <p class=3Dnewsletterheading =<br>
341 style=3D'mso-margin-top-alt:0in;margin-right:<br>
342 0in;margin-bottom:4.0pt;margin-left:0in'><span =<br>
343 style=3D'mso-bookmark:OLE_LINK1'><span<br>
344 style=3D'mso-bookmark:OLE_LINK10'><span =<br>
345 style=3D'mso-bookmark:OLE_LINK11'><span<br>
346 style=3D'mso-bookmark:OLE_LINK12'><span =<br>
347 style=3D'mso-bookmark:OLE_LINK2'><span<br>
348 style=3D'mso-bookmark:OLE_LINK3'><strong><b><font
351 face=3DArial><span =<br>
352 style=3D'font-size:12.0pt;font-family:Arial;mso-bidi-font-style:<br>
353 italic'>DesignSync Documentation Has
354 Moved</span></font><span<br>
356 style=3D'mso-bidi-font-style:italic'><o:p></o:p></span></b></strong></spa=<br>
357 n></span></span></span></span></span></p><br>
359 OK, not you tell me - where's the Arial 11 point in there?<br>
362 I'm sure you've enjoyed the above exercise...<br>
364 Oh, and how does this look in "straight" HTML?<br>
365 <blockquote><tt><h2>DesignSync Documentation Has Moved</h2></tt><br>
370 <p class="entry-footer">
371 <span class="post-footers">Posted by on April 21, 2007 8:56 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000634.html">Permalink</a>
376 <div class="trackbacks">
377 <h3 id="trackback" class="trackbacks-header">TrackBack</h3>
378 <div id="trackbacks-info">
379 <p>TrackBack URL for this entry:<br />http://defaria.com/mt/mt-tb.cgi/23</p>
381 <div class="trackbacks-content">