您的位置: 首页 > IT文章 > CSS教程 > css禁止html标签被选中的方法 css禁止html标签被选中的方法 分类: IT文章 • 2023-10-30 10:05:10 以下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;