Is there a way to locate specific text on my website and apply an underline to it?
Suppose I have some text displayed and I wish to identify all instances of the word hello
and underline them.
Here is my attempt at the code:
$( "body:contains('hello')" ).css( "text-decoration", "underline" );
However, this approach seems to be underlining the entire line instead of just the individual word.