In Vav4.0, SPAN tags go thour layers.
It remain in effect in its whole scope, including layer. Text in color=red SPAN. Text between 2 LAYERs.

Text not in layer, but still in SPAN

Text after closing font tag.