This is an example of nested tags. If you are going to use tag pairs in combination (which you will probably be doing quite a bit), then to avoid confusing the browser, they should be nested, not overlapping. Let me illustrate...
<THIS><THAT>cool</THIS></THAT> Overlapping tags.... bad
<THIS><THAT>cool</THAT></THIS> Nested tags.... good