请问如何在Word里存 test.htm文件,多谢。

用Word 2003编个小程序:



<br> This is the page title.<br>

This is a very simple page.


为了在IE中正确显示,存盘的文件必须是.htm后缀。可是word2003在存盘的时候,文件的后缀只能是 .txt ,.doc等,改不成.htm,这样在IE或FireFox中显示的是连同html描述的文本。如果存成.xml文件,在IE中打开,就得到一个巨大的html文件。

本菜鸟也摸索出一个方法,就是用 windows自带的文字编辑器notepad,写上面这个小程序,然后存盘时,document type 用 "All files (*.*)"选项,在文件名栏,打入文件名test.htm,存盘,就行了。用IE打开,就是一个web page。

不过这个办法功能太弱。我实在是菜鸟一只,向各位求教,谢谢。

所有跟帖: 

1. writing a homepage is not writing a program -yahoobb- 给 yahoobb 发送悄悄话 yahoobb 的博客首页 (245 bytes) () 07/19/2007 postreply 22:46:18

不明白:选择文件-另存为网页就可以了? -show- 给 show 发送悄悄话 (0 bytes) () 07/20/2007 postreply 02:58:02

semonkey里的html editor简单实用 -ohlalala- 给 ohlalala 发送悄悄话 (77 bytes) () 07/20/2007 postreply 04:29:13

谢谢各位,没想到真还有用notepad的。 -德州土老冒- 给 德州土老冒 发送悄悄话 (327 bytes) () 07/20/2007 postreply 18:02:57

乡里乡亲真多啊 -德州老外- 给 德州老外 发送悄悄话 德州老外 的博客首页 (0 bytes) () 07/20/2007 postreply 19:52:14

请您先登陆,再发跟帖!