XML vs HTML
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 appearancee.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