Structural versus Presentational Markup

Derek Bridge

Department of Computer Science,
University College Cork

Structural versus Presentational Markup

Aims:

Early versions of HTML

Early versions of HTML: no DOCTYPE

HTML 4.01

HTML 4.01

The evils of mixing structural and presentational markup

Advantages of CSS

HTML5

HTML5: Two syntaxes

HTML5

HTML5: em, strong, i and b

Class exercise: em, strong, i or b?

HTML5: big and small

What happens if you break the rules?

HTML editors