12
XML vs HTML
n Isn’t XML just like HTML?
ä Like XML, you can sometimes use HTML to mark
up things for content rather than appearance,
e.g. <H2>This is a subtitle</H2>
appearance of <H2> is defined elsewhere, usually by
someone else
ä but
a lot of HTML markup is for appearance
e.g. <I>this is italics</I>, <B>this is in
bold</B>
you couldn’t markup <RECIPIENT>Some
names</RECIPIENT>
ä If you know HTML, easy to understand basic XML
syntax