Table of Contents
XML and HTML: So many tags, so little time.
Goals
Markup
Markup Language
Markup Example
On the Web - HTML
A Basic “Idealized” Web Page
Would be rendered as ...
Basic Elements
Attributes
Authoring Tools
The Big Picture for MLs
Problem: HTML is really HTFL
Problem: HTFL is a blunt tool
Solution: More Markup Languages!
Why XML is great.
A Weather Example
The ML world now.
The Evolving Web
Separates Content from Formatting
Elements and Tags
Example: … six tags, three elements.
XML Rules for “well-formedness”
XML Rules for “well-formedness”
Well-Formed Example
Not Well-Formed Example
Scenario: Comparison Shopping
Scenario: Company Merger
Document Type Definition
DTDs are “a good thing”
Well-Formed vs. Valid
Hello in XML
Writing Valid XML
Exercise: Informal DTD for a newspaper story.
What about
Where we are now ...
|
Author: Charlie Viles
Email: viles@ils.unc.edu
Home Page: http://ils.unc.edu/viles/181/
|