All posts by Bert Bos


CSS development started some 25 years ago. Originally the goal was to provide some good but simple typography for a single column of text with the occasional image. But the technology proved popular, and flexible enough that the scope could be made much wider. And since then the work of adding new capabilities hasn’t stopped. […]

Serving XHTML with math: a recipe for Apache

The future version 5 of HTML will allow math in a Web page, but the current version 4 does not. You can use XHTML instead, but not all Web clients understand it. Here is a recipe for the Apache Web server to make it return XHTML as HTML to such clients. That HTML will be invalid, of course, because it contains math, but the non-math parts are still handled. It's not as good a solution as having two versions of a page, but it's cheap.