xml is used for storing purpose but html is used for ui purpose.we can use userdefiened elements in xml but we can not use in html
http://www.differencebetween.info/difference-between-html-and-xml