I have a span element that consists of a p-tag and some text. I am trying to achieve an underline effect on hover, specifically only on the word 'Tree' and not on the word 'Test'. The challenge is that I am unable to make any direct modifications to the word 'Tree' itself. Additionally, using text-decoration: none on the p-tag does not work.
<span id="underline">
<p id="noUnderline">Test</p>
Tree
</span>
Does anyone have any solutions or ideas on how to accomplish this?