I have created notes in html file locally and intend to use the file only locally in my computer. Let's say i have a code
<p> this is an example text</p>
I want to select the word example in the browser and preferably press a shortcut to change the code as
<p> this is an <span class="highlight">example</span> text</p>
and save this change in the same html file.
Especially, I have no clue on how to approach saving the changes in the same local html file.
Edit: I intend to use this notes only for personal use and will be only locally stored in my computer as a .html file.
Edit2: Can this be achieved using php?