Differences between HTML and XML

According to Wikipedia XML language is a meta markup language that is now widely used. XML was developed by the World Wide Web Consortium, in a committee created and chaired by Jon Bosak. The main purpose of XML was to simplify SGML by focusing on a particular problem — documents on the Internet. XML remains a meta-language like SGML, allowing users to create any tags needed and then describing those tags and their permitted uses. And HTML is: is the predominant markup language for Web pages. It provides a means to describe the structure of text-based information in a document written in tags The main differences between XML and HTML are:

  • It does not require DTD or Document Type Definition, because XML points to the structure of the information, what saves time and simplifies the software.
  • XML does not accept exceptions so every tag does the same action.
  • AND content models do not exist, so the elements must be named always in a established order.
  • It does not have data, which in SGML allows including specific information such as mathematic symbols.
  • It is simple and less extensive than SGML, because of this is much simpler to use
  • It is independent from the Internet explorers, because instead of adding to the presentation tags, the explorer will refer you to an style page made with XSL

Resources:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: