I am totally new to Web Development. Here, I have an HTML file which I am showing in the text-angualr
. Here, I am getting a string which is from the Html file itself like you can say,
<p style="padding:0;color:#000000;font-size:12pt;line-height:1.0;margin-right:0;margin-left:72pt;text-indent:-72pt;font-family:"Times New Roman";margin-top:0;orphans:2;margin-bottom:0;widows:2;text-align:justify"><span style="vertical-align:baseline;font-size:11pt;font-family:"Calibri";font-weight:700">Description: </span><span style="color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:"Calibri";font-style:normal">Developed web app for add management.</span></p>
<span style="vertical-align:baseline;font-size:11pt;font-family:"Calibri";font-weight:700">Contribution: </span><span style="vertical-align:baseline;font-size:11pt;font-family:"Calibri";font-weight:400">It was the internal use web app for the <br>we developed the app for the add management for the. </span>
this is a Html document,which represents it
Description: Developed web app for add management.
Contribution: It was the internal use web app for the
we developed the app for the add management for the
Here, I am able to highlight a single word from this text. what I want is to highlight a whole text like from Description to the
, which I am getting as an input. I tried Different options like,
How to highlight text using javascript
Here From this I am able to highlight a text which is in one tag but what about the remaining text in the next few tags ? I am not able to understand this, can any one please explain me this? The solution I tried was 3rd
one. I don't have required reputation to put a comment so I am asking this question. Thanks in advance.