spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column62

XHTML 2.0 Drafted

Technical Lead
Thomson Reuters (Markets) LLC
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


Links on many elements

For convenience, the XHTML 2.0 spec introduces special "attribute collections," or groupings af attributes, and applies these groupings to the individual element definitions (in addition to any element specific attributes). The main collection of attributes is called the "Common Attribute Collection," and itself is applied to the majority of elements defined in the specification. Since this Common Attribute Collection includes the attributes of the "Hypertext Attribute Collection," most elements can now make use of link attributes, such as href. This will shorten constructs like:

<h3><a href="#products">Products</a><h3>

to the more concise:

<h3 href="#products">Products<h3>

Objects everywhere

The object tag becomes the universal identifier for non-HTML content, img and applet are deprecated in XHTML 2.0. A type attribute specifies the nature of the referenced object, be it an image, Java applet, ActiveX control, or plug-in data like an SVG graph.

<applet class="Foo.class" archive="foo.jar"><param name="foo" value="bar"/></applet>
<img src="foo.jpg" alt="A foo" />

Although I am not sure about the MIME type for Java Archives (JARs), this would become:

<object data="Foo.class" archive="foo.jar" type="application/x-jar"></objectt>
<object data="foo.jpg" type="image/jpeg">A foo</object>

New stuff

One major addition to XHTML 2.0 is proposed:

Navigation lists

A new type of list is introduced besides the ordered, unordered and definition lists: The navigation list. It is a structure that is usually mimicked by a combination of unordered lists with anchor tags:

<nl>
  <name>Company<name>
  <li href="#history">History</li>
  <li>
    <nl>
      <name>Products</name>
      <li href="#sssd">Supersonic Screwdriver</li>
      <li>...<li>
    </nl>
  </li>
</nl>

This concludes our preview tour of the second version of XHTML for now. As is usually the case for a first draft, lots of things might get changed or amended during the review process. Don't hesitate to comment on the mailing list if you feel so inclined!


Produced by Michael Claßen

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

URL: http://www.webreference.com/xml/column61/2.html
Created: Aug 21, 2002
Revised: Aug 21, 2002