Difference Between Similar Terms and Objects

Difference between SGML & XHTML


SGML stands for Standard Generalized Markup Language. It has become an international standard in specifying the description of the type and content of digital documents. SGML can be considered to be the mother language of HTML and XML, which are now widely used for transcribing digital documents. With time, the popularity of SGML has rapidly increased in different professional fields. There are few barriers to SGML as well. Since there are no widely supported style sheets in SGML, an unstable software is developed due to SGML’s strong settings. Besides, SGML data interchange has become very complex due to varying compatibility among the software packages, which can cause serious problems. The cynics have termed SGML as “Sounds Good Maybe Later” for these cons.

Now the XHTML is a draft which was prepared as a formulation of HTML 4.0. A family of digital documents developed later under the subset of HTML. There are many reasons as to why content developers decided to develop XHTML. This language was intended to be extensible so that the users can design their own tags. XHTML is portable. So non-desktop agents can access these digital documents through the internet. The XHTML is thus a production of XML and SGML has produced HTML. XML was also designed to be extensible. Thus the XHTML became extensible as well. In case of SGML, XML has created the Document Type Definitions or DTDs. SGML can be claimed to be the mother of XML and its subsets.

XHTML is more sustainable than SGML. With time, web applications are becoming more sophisticated. This will lead to a widespread popularity of XHTML.XHTML is supported by a huge number of applications. So it can be used to create complex websites. In case SGML, not many applications are supported by browsers. The XHTML documents follow the XML rules and can be converted into many file formats such as PDF, RSS or RFT. Due to shorter error processing routines, the few browsers which can support XHTML are performing at faster speeds. Documents containing liberal errors require more time to process. Using XHTML reduces the page loading time and download speeds. The XHTML features closing tags. This is a great start for beginner programmers and helps the web professionals to stay updated. Your source will be converted into a clean and readable version and enhance your skills as a web professional. To wrap it up, the XHTML shows professionalism which is not found in the SGML based applications. Some of the browsers that can accept XHTML documents are Google Chrome, Mozilla Firefox, Opera, Camino, Galleon, Safari and all mobile browsers.


Key Differences between SGML & XHTML:

  • XHTML is more sustainable than SGML.

  • XHTML is supported by a many web applications unlike SGML.

  • The SGML does not support converting into various file formats including PDF, RSS or RFT like the XHTML.

  • XHTML offers faster page loading and download speed than SGML.

  • All XHTML have closing tags, which is not available in the SGML.

Sharing is caring!

Search DifferenceBetween.net :

Email This Post Email This Post : If you like this article or our site. Please spread the word. Share it with your friends/family.

Leave a Response

Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Articles on DifferenceBetween.net are general information, and are not intended to substitute for professional advice. The information is "AS IS", "WITH ALL FAULTS". User assumes all risk of use, damage, or injury. You agree that we have no liability for any damages.

See more about : , , ,
Protected by Copyscape Plagiarism Finder