Share this Page URL
Help

Cleaning Up Word's HTML > Cleaning Up Word's HTML - Pg. 395

h1 font-family:Arial; mso-fareast-font-family:"Times New Roman"; mso-bidi-font-family:"Times New Roman";} {mso-style-next:Normal; margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:1; font-size:18.0pt; mso-bidi-font-size:16.0pt; font-family:Arial; mso-bidi-font-family:"Times New Roman"; mso-font-kerning:16.0pt;} {mso-style-next:Normal; margin-top:12.0pt; margin-right:0in; h2 Example 16-4 shows the bulleted list that contains the hyperlinks in the document. While some of the information in this code is necessary, much of it has to with Word's paragraph formatting. With the help of a good HTML reference, I extracted the extra Word formatting. Example 16-4. Word HTML Hyperlinks Containing Formatting Information <ul style='margin-top:0in' type=disc> <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'> <a href="#_Work_Information">Work Information</a></li> <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'> <a href="#_Favorite_Links">Favorite Links</a></li> <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'> <a href="#_Contact_Information">Contact Information</a></li> <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'> <a href="#_Current_Projects">Current Projects</a></li> <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'> <a href="#_Biographical_Information">Biographical Information</a></li> <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'> <a href="#_Personal_Interests">Personal Interests</a></li> Creating a Web Page As you can see, it's not too hard to examine the HTML that Word generates and weed out the fluff, especially if you know your HTML or are willing to do some digging. For those of us who don't want to bother, though, Microsoft has created a tool to help. Word's HTML | 395