...XML เป็นส่วนหนึ่งของ HTML แต่ XML จะให้รายละเอียดเกี่ยวกับข้อมูลต่าง ๆ เช่น ชื่อเมือง อุณหภูมิ ความกดอากาศ เป็นต้น ส่วน HTML เป็นการกำหนด tag ต่าง ๆ ว่าจะให้ข้อมูลแสดงผลในรูปแบบใด ซึ่งข้อมูลสามารถแสดงผลได้หลายรูปแบบ ไม่ว่าจะเป็นตารางหรือ text ธรรมดา...
I think XML is a 'superset' --not a subset or a part-- of HTML.
In simple words:
HTML is used to tell a web browser how to 'present information' i.e. what pieces of information should 'look' like.
XML is used to 'define' meaning of information i.e. what pieces of information should 'mean'.
[That is why XML needs 'style sheets' or HTML to 'present' information so it 'looks' easy to read and understand. ;-) ]