Difference between XML and HTML.

 Posted by Yogi1990 on 7/5/2011 | Category: HTML 5 Interview questions | Views: 3290 | Points: 40

-Both XML and HTML are based on SGML – Standard Generalized Markup Language

Different goals
- XML was designed to describe data and to focus on what data is
- HTML was designed to display data and to focus on how data looks
- XML fundamentally separates content (data and language) from presentation; HTML specifies the presentation

- HTML explicitly defines a set of legal tags as well as grammar (intended meaning)

- XML allows any tags or grammar to be used hence eXtensible

Source: Google and my preparation | Asked In: Some interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Yogi1990