Home > Web Front-end > HTML Tutorial > About the problem of marking keywords in html web pages_html/css_WEB-ITnose

About the problem of marking keywords in html web pages_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:50:06
Original
1009 people have browsed it

The project I am working on at school is to perform a keyword search on word documents and convert the searched documents into html web pages for online browsing. Is there any way to mark the corresponding keywords when generating web pages? ?, it’s best to respond to the discussion (solution) as highlighted in the pdf


Reply to the discussion (solution)

$(function(){
$(body) .find("Search").css("color","#e0e0e0");
}

$(function(){
$(body).find(" Search ").css("color","#e0e0e0");
}



Remember to import the jquery library

http://johannburkard.de/blog/ programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
http://jsfiddle.net/jikeytang/0rjrxmo9/1/

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template