<html>
<head>
<title>Word2Html</title>
<script language="javascript">
function convert2html(){
html.value = word.innerHTML;
}
</script>
</head>
<body>
<p>请在这里贴入WORD文件内容
<div style="border:1 outset #ffffff; overflow:auto;width:80%;height:50%" id="word" contenteditable></div>
<input type="button" value="转换成HTML" onclick="convert2html()"><br>
<textarea cols="80" rows="10" id="html"></textarea><br>
注意:您的浏览器必须是IE5.5后以上,否则无法插入文字!
</body></html>
Word中的表格转成Html
最新推荐文章于 2025-03-27 14:12:47 发布
本文提供了一个简单的网页工具,用于将Word文档的内容转换为HTML格式。用户只需将Word文档内容粘贴到指定区域,点击按钮即可完成转换。请注意,此工具要求使用IE5.5及以上版本的浏览器。
7089

被折叠的 条评论
为什么被折叠?



