方法:利用文本替换,JS代码如下:
1
//高亮显示搜索到的关键字
2
function HeightLight(Keyword)
3
}
运行后效果如下:


全部代码:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UFT-8">
<title>Untitled Document</title>
>
相关文章:
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2021-08-01
-
2021-04-29
-
2022-12-23
猜你喜欢
-
2022-12-23
-
2022-12-23
-
2021-05-30
-
2022-12-23
-
2022-12-23
相关资源
-
下载
2023-02-11
-
下载
2022-12-17
-
下载
2023-02-22
-
下载
2021-06-06