Future Web Standards

Current Standards: xhtml 1.1 plus MathML 2.0 plus SVG 1.1

This site is written and validated against these standards. This particular page, however, does not validate due to the rather bleeding‐edge contents.


The advantages of xhtml over html 4 are its xml‐enforced regularities. This makes writing clean code much simpler, and much easier to check. There isnʼt anything to demonstrate for xhtml 1.1, as the semantics are exactly the same as html 4.01. Only the syntax is different:

  • all tags have to be closed (with either a closing tag, or self‐closing <img /> <span></span>).
  • all elements and attributes are in lower case.
  • all attribute values must be quoted.
  • inline elements must be enclosed in a block element.

Utilizing xhtml also allows for easier integration of other xml applications, such as SVG, MathML, xforms, and others. Thru the use of namespaces it is possible to embed MathML, for example, directly in the page (as is done below).


MathML is an xml language for formatting complex formulas. Below is the quadratic equation which appears on the home page. Support for MathML is present in webkit browsers, Opera, Firefox and IE 10.

x = - b ± b 2 - 4 a c 2 a


SVG is a scriptable vector based xml language. Combined with javascript and xhtml it can be used to construct a user interface (similar to Flash, for example). Fonts can also be rendered in SVG (see next section). This is a clock rendered in vector graphics, as well as a simple running man graphic. As of 2010.01 webkit has a problem with background transparency in SVG, but Firefox and Opera render them correctly.

Standards in Development

Web Fonts / Typography

In addition to the avaiblability of SVG fonts, OpenType/TrueType font support is part of the upcoming html 5 spec. Not yet officially part of the spec, but proposed by Mozilla is the web open font format (woff), which utilizes a compressed version of otf/ttf fonts. For a more complete comparison, check out the web font page.

Options4 svg
Options4 ttf
Options4 woff

For even greater typographic control, there are proposals from both Mozilla and Opera for adding OpenType font feature selections to CSS via the font-variations tag. This would allow advanced features such as alternate glypes, swashes, ligatures, small caps, and character position to be properly displayed in a browser. Stayed tuned.


CSS 3 includes selectors and animations, among many other things. (This paragraph will change color and a box with a shadow will gradually appear when moused over, using CSS animation. Itʼll just turn blue without animation.)

The first paragraph in the x/html 5 section illustrates columns, and the logo on the home page shows the use of the text‐shadow css. The bullet point boxes illustrate the use the box-shadow and border-radius properties.

This paragraph should have been made italic using the CSS 3 :last-child selector.

CSS OpenType Features

Opentype font test, using font-feature-settings to try out various properties. Supported in Firefox 17+, Chrome 18+:

common ligatures: off effective fiction

discretionary ligatures: on first luck with gin

style set: on GOOD & BAD

fractions: on 7/25 23/121

tabular numerals: on 0123456789

small caps: on Font Features

Font axis variations: adjust the sliders for weight and width

400 1.0


  • type=email:
  • type=url:
  • type=date:
  • type=range: -
  • pattern:
  • required: