CS1102 Internet Computing, 2007-2008

Derek Bridge

Department of Computer Science,
University College Cork

CS1102 Internet Computing: Period I

CS1102 Internet Computing: Period II

CS1102 Internet Computing: Teaching

CS1102 Internet Computing: Assessment

HTML

Aims:

Markup languages

Types of markup

The anatomy of HTML, the HyperText Markup Language

The anatomy of element content

The anatomy of element content

The anatomy of HTML

Element display roles

Block-level elements
By default, there is a line break before and after the content
Inline-level element
By default, there is no line break before and after the content

Class exercise: Give examples of both.

Display of HTML

A browser takes the document and 'flows' the text and referenced content onto the screen:

Hierarchical structures: terminology

treenode
rootleaf
parentchild
ancestordescendant
sibling

The hierarchical structure of HTML documents

Our elements (so far)

We studied these tags and attributes for structural markup:

Another piece of structural markup

And another piece of structural markup

And yet another piece of structural markup

And today's last piece of structural markup

HTML editors