<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>web standards · Grey Nicholson</title><id>https://gkn.me.uk/entries/webstandards</id><link href="https://gkn.me.uk/entries/webstandards" rel="alternate"/><link href="https://gkn.me.uk/entries/webstandards/feed" rel="self"/><author><name>Grey Nicholson</name></author><icon>https://gkn.me.uk/style/icon.svg</icon><updated>2025-10-21T12:11:00+00:00</updated>
<entry><title>New Elements in HTML 5</title><id>https://gkn.me.uk/newelementsinhtml5</id><link href="https://gkn.me.uk/newelementsinhtml5" rel="alternate" type="text/html"/><published>2008-04-01T11:56:00+00:00</published><updated>2008-04-01T11:56:00+00:00</updated><summary>A quick look at a couple of the new elements in the new version of HTML.</summary><content type="html">
&lt;p&gt;&lt;abbr class=&quot;caps&quot; title=&quot;Hypertext Markup Language version 5&quot;&gt;HTML 5&lt;/abbr&gt; has been in development for a good few years now. In addition to clarifying a lot of grey areas in previous versions of the &lt;abbr title=&quot;specification&quot;&gt;spec&lt;/abbr&gt;, and changing a few definitions to reflect real-world use, it also introduces a few new elements. Here&#x27;s a quick look at some of the more interesting ones.&lt;/p&gt;
&lt;h2&gt;The &lt;code&gt;í&lt;/code&gt; element&lt;/h2&gt;
&lt;p&gt;&lt;abbr class=&quot;caps&quot;&gt;HTML&lt;/abbr&gt; 5 redefines the &lt;code&gt;i&lt;/code&gt; element, which &lt;em&gt;was&lt;/em&gt; purely presentational and denoted anything that looked vaguely slanty, as representing &lt;q cite=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/section-text-level.html#i&quot;&gt;a span of text in an alternate voice or mood, or otherwise offset from the normal prose, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, a ship name, or some other prose whose typical typographic presentation is italicized&lt;/q&gt;.&lt;/p&gt;
&lt;p&gt;Note &lt;q cite=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/section-text-level.html#i&quot;&gt;typical&lt;/q&gt;: the contents of an &lt;code&gt;i&lt;/code&gt; element don&#x27;t actually &lt;em&gt;have&lt;/em&gt; to be displayed in italics.&lt;/p&gt;
&lt;p&gt;In light of this, the spec also introduces the &lt;code&gt;í&lt;/code&gt; element (note the acute accent), which represents &lt;q&gt;a really, really italic bit of text&lt;/q&gt;; it adds that &lt;q&gt;user agents &lt;strong&gt;should&lt;/strong&gt; render text within an &lt;code&gt;í&lt;/code&gt; element with &lt;a href=&quot;http://www.asmithillustration.com/news-whoosh.html&quot;&gt;a dynamic ‘whoosh!’ effect&lt;/a&gt;&lt;/q&gt;.&lt;/p&gt;
&lt;h2&gt;The &lt;code&gt;spam&lt;/code&gt; element&lt;/h2&gt;
&lt;p&gt;&lt;abbr class=&quot;caps&quot;&gt;HTML&lt;/abbr&gt; 4 introduced the &lt;code&gt;span&lt;/code&gt; element, which represents a generic run of text. It&#x27;s used all over the place in &lt;abbr class=&quot;caps&quot;&gt;HTML&lt;/abbr&gt;, as a semantically correct way to mark up absolutely anything just for fun.&lt;/p&gt;
&lt;p&gt;&lt;abbr class=&quot;caps&quot;&gt;HTML&lt;/abbr&gt; 5 corrects a typo in the &lt;abbr class=&quot;caps&quot;&gt;HTML&lt;/abbr&gt; 4 spec and renames this element to &lt;code&gt;spam&lt;/code&gt;.&lt;/p&gt;</content></entry>
<entry><title>Opera + XSL = Eugh</title><id>https://gkn.me.uk/weblog027</id><link href="https://gkn.me.uk/weblog027" rel="alternate" type="text/html"/><published>2004-04-23T14:16:00+00:00</published><updated>2004-04-23T14:16:00+00:00</updated><content type="html">
&lt;p&gt;
Evidently Opera doesn&#x27;t like XSL - this weblog shows up as a lot of plain text with the odd URL chucked in. The question is whether I care.
&lt;/p&gt;
&lt;p&gt;
The Twaddle is more of a public offering than this weblog, so it matters a little more if it&#x27;s inaccessible using Opera... but then how many readers of The Twaddle use Opera? I&#x27;d say few to none. (Checking the site stats for The Twaddle will probably show a few Opera hits - most of which are me).
&lt;/p&gt;</content></entry>
<entry><title>IE + XML + XSL + XHTML + W3C = Get In!</title><id>https://gkn.me.uk/weblog026</id><link href="https://gkn.me.uk/weblog026" rel="alternate" type="text/html"/><published>2004-04-23T14:07:00+00:00</published><updated>2004-04-23T14:07:00+00:00</updated><content type="html">
&lt;p&gt;
As a prelude to some major back-end renovation I&#x27;m planning for The Twaddle, I decided to see if I could get Internet Explorer 6 to display this XSL-ified weblog nicely, not accounting for IE-unsupported CSS (which is already taken care of at The Twaddle). Previously, IE displayed the DOCTYPE declaration as plain text at the top of the page; using strategic HTML commenting, I&#x27;ve managed to prevent it from doing so.
&lt;/p&gt;
&lt;p&gt;
Actually, I bet simply removing the DOCTYPE declaration wouldn&#x27;t affect either Gecko or IE&#x27;s rendering of the page, as I think XML kicks both of them into standards mode anyway.
&lt;/p&gt;
&lt;p&gt;
The next step is to try this with some of The Twaddle. And I&#x27;d probably best check Opera&#x27;s effort, too.
&lt;/p&gt;</content></entry>
<entry><title>Freewebs aren't very good at MIME types</title><id>https://gkn.me.uk/weblog004</id><link href="https://gkn.me.uk/weblog004" rel="alternate" type="text/html"/><published>2004-02-19T15:30:00+00:00</published><updated>2004-02-19T15:30:00+00:00</updated><content type="html">
&lt;p&gt;
Freewebs is obviously designed to cater for “webmasters” who&#x27;ve never heard of Jeffrey Zeldman... Like most, if not all, free web hosts, Freewebs use filename “extensions” to determine what MIME type to serve for a file; this is OK, until they get it wrong. Granted, Atom and XSL aren&#x27;t the most commonly used file formats on the web but nonetheless Freewebs could bother serving them with the proper MIME types.
&lt;/p&gt;
&lt;p&gt;
A few months ago, I asked them if they could serve .xhtml files as XHTML rather than plain text. They responded by saying they wanted to comply with web standards; could I please send them the reference to the W3C recommendation. Great! ...except that nothing&#x27;s happened since (or at least they haven&#x27;t told me about it if anything has) - a couple of weeks ago I checked and .xhtml files were still being served as plain text.
&lt;/p&gt;
&lt;p&gt;
I&#x27;d appeal to Freewebs now, except I suspect they use Internet Explorer, and thus won&#x27;t be able to read this...
&lt;/p&gt;</content></entry>
</feed>