Presentation semantics

In computer science, particularly in human-computer interaction, presentation semantics specify how a particular piece of a formal language is represented in a distinguished manner accessible to human senses, usually human vision. For example, saying that <bold> ... </bold> must render the text between these constructs using some bold typeface is a specification of presentation semantics for that syntax.

Many markup languages, including HTML, DSSSL, and XSL-FO, have presentation semantics, but others, such as XML, do not.[1][2][3] Character encoding standards, such as Unicode, also have presentation semantics.[4]

One of the main goals of style sheet languages is to separate the syntax that defines document content from the syntax endowed with presentation semantics. This is the norm on the World Wide Web, where the Cascading Style Sheets language provides a large collection of presentation semantics for HTML documents.[5]

  1. ^ H. P. Alesso, Craig Forsythe Smith, Developing Semantic Web services, A K Peters, Ltd., 2005, ISBN 1-56881-212-4, p. 62 and p. 100
  2. ^ G. Ken Holman, Definitive XSL-FO, Prentice Hall PTR, 2003, ISBN 0-13-140374-5, p. 13
  3. ^ Erik Wilde, David Lowe, Xpath, XLink, XPointer, and XML: a practical guide to Web hyperlinking and transclusion, Addison-Wesley, 2003, ISBN 0-201-70344-0, p. 201
  4. ^ "IBM Knowledge Center - Home of IBM product documentation".
  5. ^ "HTML 4.0 Specification — W3C Recommendation — Conformance: requirements and recommendations". World Wide Web Consortium. December 18, 1997. Retrieved July 6, 2015.