Sometimes on the page to edit a paragraph of text, there are pictures, want to save a copy to the Word document inside, but after the copy and paste found the format and did not save it, today to teach you how to complete the HTML editor to save the text (can contain pictures, but the picture must be an absolute path, Word can only recognize the table layout, and it does not recognize the div layout.
First, create a new, blank Word document, both 2003 and 2007. Then, open the Click "Save As ..." button, save it in HTML format, and then open the saved HTML file with EditPlus or another text editor and you'll see something:
<HTMLxmlns:v= "URN:SCHEMAS-MICROSOFT-COM:VML"Xmlns:o= "Urn:schemas-microsoft-com:office:office"xmlns:w= "Urn:schemas-microsoft-com:office:word"xmlns:m= "HTTP://SCHEMAS.MICROSOFT.COM/OFFICE/2004/12/OMML"xmlns= "Http://www.w3.org/TR/REC-html40"><Head><Metahttp-equiv=content-typecontent= "text/html; charset=windows-1252"><Metaname=progidcontent=word.document><Metaname=generatorcontent= "Microsoft Word page"><Metaname=originatorcontent= "Microsoft Word page"><Linkrel=file-listhref= "111_files/filelist.xml">
<!--omit some of the content here-
</HTML>
We can see that the middle part is the HTML code, delete the middle code, instead, the following content:
< html xmlns:v = "URN:SCHEMAS-MICROSOFT-COM:VML" xmlns:o = "Urn:schemas-microsoft-com:office:office" xmlns:w = "Urn:schemas-microsoft-com:office:word" xmlns:m = "HTTP://SCHEMAS.MICROSOFT.COM/OFFICE/2004/12/OMML" xmlns = "Http://www.w3.org/TR/REC-html40" >
< / html >
Then rename the HTML file, modify the suffix named Doc (to docx with errors, do not know why), and then double-click the effect that opens in Word and displays the page in Web view. Of course, you can still display it when you switch views.
So, the text and code that we've processed in the HTML editor, plus the one that's saved in. doc format, can be opened in a Word document, and the format is exactly the same as the page, except for some layouts.
Teach you how to perfectly save text edited by the HTML editor