I am reading the code written by somebody. I need to make modifications but I see that they have used
<span class="TextUnderlined">
<span class="colorText">
</span>
Is this possible? I thougth each span tag needs to be closed.
You are correct.
Each span tag should have its own closing tag.
The fact that a browser might handle this error doesn’t make it OK.