Topic 2 : Differences between SGML,...

Page 1

Introduction to XML Description to the XML  Differences Between XML, SGML, HTML  Uses of XML  Standard XML Applications 

Anis Shobirin Bt Abdullah Sani


Diff. between XML, SGML, HTML 

What is Markup Language (ML)?  A markup language is a combination of words

and symbols which give instructions on how a document should appear.  For example, a tag may indicate that words are

written in italics or bold type. Eg <b>, <i>  Although the most common and most widely

used markup languages are written for computers, the concept of a markup language is not limited to computer programming. Anis Shobirin Bt Abdullah Sani


Diff. between XML, SGML, HTML 

What is SGML?  SGML (Standard Generalized Markup

Language) is a standard for how to specify a document markup language or tag set.  SGML is not in itself a

document language, but a description of how to specify one.  It is metadata. Anis Shobirin Bt Abdullah Sani


Diff. between XML, SGML, HTML 

What is HTML?  HTML (Hypertext Markup Language) is the set

of markup symbols or codes inserted in a file intended for display on a World Wide Web browser page.  The markup tells the Web browser how to

display a Web page's words and images for the user.  Each individual markup

code is referred to as an element (but many people also refer to it as a tag). Anis Shobirin Bt Abdullah Sani


XML vs. SGML vs. HTML SGML SGML is semantic markup for storage (define your own tags).

XML XML is semantic markup for interoperability (define your own tags).

HTML HTML is visual markup for presentation (predefined tags).

ďƒ˜ XML will not replace SGML or HTML. It addresses a new market integration.

Anis Shobirin Bt Abdullah Sani


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.