当前位置: 移动技术网 > IT编程>开发语言>.net > 一个把WORD转换成HTML的程序

一个把WORD转换成HTML的程序

2018年10月14日  | 移动技术网IT编程  | 我要评论

地理等高线,qq空间留言板寄语图片,莱阳梨文化节

这个程序主要用了ie5.5的一个特性
您的必须是ie5.5或以上版本

<html>
<head>
<title>word2html</title>
<script language="javascript">
function convert2html(){
    html.value = word.innerhtml;    
}
</script>
</head>
<body>
<p>请在这里贴入word文件内容
<p style="border:1 outset #ffffff; overflow:auto;width:80%;height:50%" id="word" contenteditable></p>
<input type="button" value="转换成html" onclick="convert2html()"><br>
<textarea cols="80" rows="10" id="html"></textarea><br>
注意:您的浏览器必须是ie5.5后以上,否则无法插入文字!
</body></html>

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网