怎么才能让html网页中的内容不可选?

怎么才能让html网页中的内容不可选?,第1张

CSS代码中加

*{

moz-user-select: -moz-none

-moz-user-select: none

-o-user-select:none

-khtml-user-select:none

-webkit-user-select:none

-ms-user-select:none

user-select:none

}

<input name="save" id="save" type="checkbox" onClick="save_ck(this)" disabled="disabled" checked>

加一个disabled="disabled"


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/7562025.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-07
下一篇 2023-04-07

发表评论

登录后才能评论

评论列表(0条)

保存