1.Difference
between HTML and XML
-
S.No HTMLXML1Abbreviation:HTML stands for HyperText Markup LanguageAbbreviation:XML stands for eXtensible Markup Language2 Purpose:To display information and to focus on how data looks.Purpose:To describe information and and to focus on what data is.3 Tags:Tags:4 Rule on Attribute Values:Quotes are not required for the values of attributesRule on Attribute Values:Quotes required around attribute values5 Rule on Empty Tags:Slash not requiredRule on Empty Tags:Slash required in empty tags6 Case sensitiveness:HTML is case insensitiveCase sensitiveness:XML is case sensitive.7 Rule on End Tags:End tags are not always required.Rule on End Tags:End tags required for well formed documents. In a well formed document, elements can be defined as single tag or a pair of tags8 Reusability and Extensibility:Reusability and Extensibility:9 Data Interchange:Not possibleData Interchange:Possible10 Content Type:Static.ie.,Content is not changed every time when the page is reloadedContent Type:Dynamic.ie.,Content is changed every time when the page is reloaded
No comments:
Post a Comment