1. Similarities and differences between HTML and XML.
- HTML was designed to display data with focus on how data looks while XML was designed to be a software and hardware independent tool used to transport and store data, with focus on what data is.
- HTML is a markup language itself while XML provides a framework for defining markup languages.
- HTML is a presentation language while XML is neither a programming language nor a presentation language.
- HTML is case insensitive while XML is case sensitive.
- HTML is used for designing a web-page to be rendered on the client side while XML is used basically to transport data between the application and the database.
- HTML has it own predefined tags while what makes XML flexible is that custom tags can be defined and the tags are invented by the author of the XML document.
- HTML is not strict if the user does not use the closing tags but XML makes it mandatory for the user the close each tag that has been used.
- HTML does not preserve white space while XML does.
- HTML is about displaying data,hence static but XML is about carrying information,hence dynamic.
- XML was designed to transport and store data, with focus on what data is
- HTML was designed to display data, with focus on how data looks
- HTML is about displaying information, while XML is about carrying information.
2. Your opinion on the future of XML. Justify your answer.
- XML can be use as simple language
- Want to use HTML must have XML, want to use XML, not need to use HTML
- Feature of transferring data, make XML unique
- XML can be use alone to get the same result like HTML
- XML is better than HTML
No comments:
Post a Comment