Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 有没有办法将内容指定为禁止浏览的';内置的文本搜索?_Html_Css_Browser - Fatal编程技术网

Html 有没有办法将内容指定为禁止浏览的';内置的文本搜索?

Html 有没有办法将内容指定为禁止浏览的';内置的文本搜索?,html,css,browser,Html,Css,Browser,我有一个页面,我想使用浏览器的内置搜索功能(command/control-F)轻松搜索。我在textarea中有一些文本,我不希望浏览器中的搜索功能挂起。如何将此内容指定为浏览器的页内搜索无法搜索?是否可以设置CSS属性 注:我也看过,但伪元素不是可能的解决方案

我有一个页面,我想使用浏览器的内置搜索功能(command/control-F)轻松搜索。我在
textarea
中有一些文本,我不希望浏览器中的搜索功能挂起。如何将此内容指定为浏览器的页内搜索无法搜索?是否可以设置CSS属性

注:我也看过,但伪元素不是可能的解决方案