DOM2 almost recommended
11th January 2003
Craig Saila notes that the W3C have released DOM Level 2 as a recommendation and simultaneously recommended against its use in an article on News.com. Scripts should be used sparingly as they are less machine-readable or transparent than so-called declarative languages like SVG and SMIL
. I’m a big advocate of the labels.js school of scripting where DOM scripts are used to enhance the functionality of a document using the semantic structure of the underlying XHTML, while degrading gracefully (and without loss of information) in user agents without the required javascript support.
More recent articles
- Qwen2.5-Coder-32B is an LLM that can code well that runs on my Mac - 12th November 2024
- Visualizing local election results with Datasette, Observable and MapLibre GL - 9th November 2024
- Project: VERDAD - tracking misinformation in radio broadcasts using Gemini 1.5 - 7th November 2024