Professional Documents
Culture Documents
UNIT 1
INTRODUCTION TO
MARKUP LANGUAGES
Document
tags
(Syntactically distinguishable)
Writing documents
We write documents using different types of characters.
Numerical digits
Punctua
tion mark
s
ase letters
l and lowerc
Capita
Control Characters
ASCII
(American Standard Code for Information Interchange)
ASCII table
Extended ASCII
Unicode
It contains more than 128.000 characters, covering 135 modern and
historic scripts, as well as, multiple symbol sets.
UTF-8 1 – 4 bytes
UTF-16 2 or 4 bytes
UTF-32 4 bytes
Plain text
Kinds of markup
In the 1960s, IBM created this language in order to store great amounts
of information in a tidy way.
Example of GML Document
:h1.Chapter 1: Introduction
Tags are
:p.GML supported hierarchical containers, such as
preceded by
colon character :ol.
:li.Ordered lists (like this one),
:li.Unordered lists, and
:li.Definition lists
:eol. as well as simple structures.
:p.Markup minimization (later generalized and formalized in SGML), allowed the end-tags to be omitted for the "h1"
and "p" elements.
• What is it?
• When was it created?
• Who created it?
• What was it created for?
Tim Berners-Lee
This language doesn’t define tags but some syntactic rules to write
documents.
<library>
<book>
<title>Visual C#</title>
<author>Fco. Javier Ceballos</author>
<publisher>Ra-Ma</publisher>
<pages>936</pages>
<price>52.75</price>
</book >
<book>
<title>Programación en C</title>
<author>Luis Joyanes Aguilar</author>
<publisher>McGraw-Hill</publisher>
<pages>735</pages>
<price>45,25</price>
</book >
</library >
Common applications:
It consists of almost all of HTML 4.01 tags while it uses XML rules.
TeX y LaTeX
TeX y LaTeX
PostScript
John Warnock
• RSS • OOXML
• Atom • RDF
• ePUB • SMIL
• DITA • SOAP
• MathML • SVG
• ODF • VoiceXML
• OSDF • WSDL
Manufacturing
• OpenMath
• SML