Changes from HTML 4

Apart from the cosmetic changes that were necessary simply to make HTML 4 into an XML-compliant standard, the opportunity was taken to rationalize the language itself, just as HTML 4 rationalized earlier versions of HTML.

Removed frames

The focus on document rather than Web site construction means that the Frame, Frameset and NoFrames elements are not present in the strict XHTML DTD. They have been moved to another DTD.

Removed elements

A number of elements have been removed:

  • Applet (use Object instead)

  • Embed

  • IsIndex

  • Font (use Style and CSS)

  • BaseFont (use Style and CSS)

  • InIndex

  • Listing

  • Menu

  • Plaintext

  • Strike (strikethrough: use CSS style 'text-decoration:line-through')

  • U (Underline: use CSS style 'text-decoration:underline').

Simplified ...

Get XML Companion, The, Third Edition 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.