Word在线预览html,先收藏留着以后用
<div style="width: 100%;height: 100%;"><iframe src='https://view./op/view.aspx?src=/hjhxfiles/key.docx' width='100%' height='100%' frameborder='1'></iframe>//https://view./op/view.aspx?src= 固定写法照抄即可office官方提供///hjhxfiles/key.docx doc文档地址 替换成你要预览的Word文档地址即可</div>