Let's go back to a plain screen.
<BODY> Something Classical</BODY>
Something Classical |
We can make things bold.
<BODY> Something really <B>Classical</B> </BODY>
Something Classical |
What we are (more or less) telling the browser is: at the <B> start making things bold, and at the </B> stop making things bold.
The same principle applies to italics...
<BODY> Something <I>Classical</I> <B>cool</B> </BODY>
Something Classical |
...and underlining.
<BODY> <U>Something</U> <B><I>Classical</I></B> </BODY>
Something Classical |
Back again to a plain screen.
<BODY> Something Classical</BODY>
Something Classical |
We can use tags in combination if we want to.
<BODY> Something <I><B>Classical</B></I> </BODY>
Something Classical |
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></THIS></THAT> Overlapping
tags.... bad
<THIS><THAT></THAT></THIS> Nested
tags.... good