Thread: [Solved] Can't Read .htm Files
View Single Post
 
Old 01-05-2014, 07:11 PM
ghborrmann ghborrmann is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Dec 2013
Posts: 2
ghborrmann is on a distinguished road
Default Can't Read .htm Files

I've finally figured out what the problem is, by examining the structure of the html code. The code that Word will not read has multiple <html> and <body> tags, improperly nested and terminated. The code that works is not perfect, either -- it contains two termination tags for both <html> and <body>. I guess I didn't realize just how sloppy a site's code can be and still be displayed adequately. Apparently Word's rendering of html is less tolerant of errors than IE's. I've been able to get Word to read these files by rewriting them to eliminate the offending multiple tags. Thanks for all your comments and suggestions.
Reply With Quote