Chapter Two Con't: Cascade Style Sheet (CSS)
Chapter Two Con't: Cascade Style Sheet (CSS)
Part II
Next: XML
13 By: Fiseha B.(MSc), Oct 2014,Dilla
University
Introduction to XML
HTML describes presentation
XML describes content
<bibliography>
<book> <title> Foundations of Databases </title>
<author> Abiteboul </author>
<author> Hull </author>
<author> Vianu </author>
<publisher> Addison Wesley </publisher>
<year> 1995 </year>
</book>
<book> <title> Data on the Web </title>
<author> Abiteboul </author>
<author> Buneman </author>
<author> Suciu </author>
<publisher> Morgan Kaufmann </publisher>
<year> 1999 </year>
</book>
</bibliography>
14 By: Fiseha B.(MSc), Oct 2014,Dilla
University
Difference between HTML & XML
XML is not a replacement for HTML.
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.
HTML is about displaying information, XML is
about describing information.