XML Tags Must Be Properly Nested

In HTML, some tags can be improperly nested but still yield the desired result. The following HTML statement improperly nests the bold (<B>) and italic (<I>) tags.

<B>This sentence is in bold font and the last word is also in <I>italic</B></I> In XML, the statement must be written with properly nested tags.

<b>This sentence is in bold font and the last word is also in <i>italic</i></b>

To help document your XML code, you can include comments in the same manner that they are used in HTML.

Biorhythm Awareness

Biorhythm Awareness

Who else wants to take advantage of biorhythm awareness to avoid premature death, escape life threatening diseases, eliminate most of your life altering mistakes and banish catastrophic events from your life.

Get My Free Ebook


Post a comment