The Semantics of Semantics

One of the biggest difficulties Web designers can face when moving from HTML into the world of XML is getting behind the idea that elements, in and of themselves, have no semantics. Semantics are the collection of facts that are universally understood about a given object, especially those facts that pertain to its appearance.

For instance, the piece of furniture in your home known as a table is a structure with a flat, horizontal surface supported some distance from the floor by several supports known as legs. A table in the United States is going to be functionally equivalent to a table that is found in Kenya, Nepal, or Chile. The semantics of the table are the same.

Bringing this concept back into XHTML, everyone ...

Get XHTML by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.