XHTML Introduction to Markup Languages

CS7026: Authoring for Digital Media
Introduction
Markup Languages
Contact Details
2

Email: [email protected]

Location: Lloyd 1.41

Notes: https://www.scss.tcd.ie/Nina.Bresnihan/teaching/cs7026.html
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Delivery

The teaching of this module will be through a
combination of lectures, practical workshops and student
presentations.

The course intersperses a conventional lecture format
providing students with an theoretical understanding of
the subject with interactive workshops and labs to
develop practical skills.
3
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Course Aim & Learning Outcomes

The principal aim of this course is for the students to
gain practical mastery of authoring for the web.

Upon successful completion of the module students
should have:




4
developed a thorough understanding of web authoring using
XHTML 1.0, HTML5, CSS3 and jQuery
designed and developed valid, accessible websites.
integrated the principles of good design into their websites.
developed an understanding of the necessity and practicalities
of universal design and accessibility.
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Course Topics







5
Introduction to Markup Languages
HTML Authoring
Writing Cascading Style Sheets (CSS)
Introduction to jQuery
Web standards and accessibility
Introduction to UX and UI
Web Site Assignment meetings and presentations
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Assessment
Marks for this module consist of :


Semester One



Semester Two

6
2 x HTML & CSS mini projects 10% each
1 x Student Presentations and documentation 10%
Website Group Project 70%
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Introduction to Markup Languages

Historically, the word markup has been used to
describe annotation or other marks within a text
intended to instruct a compositor or typist how a
particular passage should be printed or laid out.

E.g. wavy underlining to indicate boldface, special
symbols for passages to be omitted or printed in a
particular font and so forth.
7
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Introduction to Markup Languages
8
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Introduction to Markup Languages

As the formatting and printing of texts was
automated, the term was extended to cover all sorts
of special markup codes inserted into electronic texts
to govern formatting, printing, or other processing.

By markup language we mean a set of markup
conventions used together for encoding texts.
9
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
Introduction to Markup Languages

A markup language must :
 Specify what markup is allowed.
 What markup is required
 How markup is to be distinguished from text
 What the markup means.
10
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
SGML

Standard Generalized Markup Language

SGML is an international standard for the description
of marked-up electronic text.

More exactly, SGML is a metalanguage, that is, a means
of formally describing a language, in this case, a
markup language
11
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
SGML

SGML allows you to define your own tags, each of
which is used to mark a particular sort of document
element, such as a paragraph, section heading or a list.

In SGML defining a tag consists of giving it a name and
some attributes and specifying some restrictions on
the context in which the tag can be used.

Let’s look at an example...
12
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016
SGML

In SGML the structure of a document in defined in
the Document Type Definition (DTD) .

A DTD describes how a document can be
structured.

Let’s take a look at what a DTD might look like for
our example...
13
©Nina Bresnihan, School of Computer Science & Statistics, TCD 2016