可编辑

来源:互联网 发布:linux退出vi命令 编辑:程序博客网 时间:2024/04/29 04:29

contentEditable="true"及designMode = "on"

例一:

例二:

contentEditable可用于其它元素,如span。确定元素是否可编辑的唯一完全可靠的方法是检查 isContentEditable 属性。