Slashdot Mirror


XHTML 2.0 Working Draft

Rytsarsky writes: "W3C has released the first public working draft of XHTML 2.0. 'XHTML 2 is a markup language intended for rich, portable web-based applications. While the ancestry of XHTML 2 comes from HTML 4, XHTML 1.0, and XHTML 1.1, it is not intended to be backward compatible with its earlier versions.' Some notable changes are the introduction of navigational lists (<nl>), sectional hierarchy with <section>, and the long-awaited deprecation of <br> in favor of <line>."

4 of 45 comments (clear)

  1. Re:LINE tag long-awaited? by merriam · · Score: 3, Informative

    Read the definition, and you'll find it's not about the name of the tag. It's about the structure. Lines are now marked up like paragraphs -- they are not separated by empty tags.

  2. Re:Did I miss it or... by smileyy · · Score: 2, Informative

    I'm assuming you meant the img element. See the object element instead. That's what you'd use to embed media in the page.

    --
    pooptruck
  3. Main changes by Fweeky · · Score: 4, Informative
    For those who don't like reading WD's:
    • Navigation Lists (<nl>), with a default rendering not unlike a DHTML menu. This will likely be controlable by CSS using display: and :hover as seen on CSS/Edge
    • <q> becomes <quote>, a new <dfn> element, and <b> and <i> have been completely removed. <br> is going in favour of <line> which will help with DOM and CSS. <hr> is still there for some reason. (Text Module).
    • New <section> element. <h1> and friends are still in the draft, but are accompanied by a new <h> element to go with each (nestable) <section>.
    • <a> is still here; no XLink in this draft, despite it being a recommendation.
    • Forms are now replaced by XForms, also a Working Draft.
    • No more <img> or <embed>. They're replaced by the technically superior <object>. Let's hope certain companies can actually be bothered to impliment it properly.
    • Frames replaced by XFrames (nothing public yet).
    • A few more global attributes, and the use of XML Events for scripting events.
    Also, for those interested in such things, the CSS 2.1 Working Draft has been released too.
    1. Re:Main changes by Rytsarsky · · Score: 2, Informative

      Frames replaced by XFrames (nothing public yet).

      An XFrames Working Draft has been released. See http://www.w3.org/TR/xframes/. XML Events look really fun, too.

      --
      God became man to enable men to become sons of God. -C.S. Lewis