W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: <code type="...">

From: Dão Gottwald <dao@design-noir.de>
Date: Mon, 02 Jul 2007 21:49:22 +0200
Message-ID: <468956C2.5040002@design-noir.de>
To: "Daniel E. Renfer" <Duck@Kronkltd.net>
CC: "public-html@w3.org" <public-html@w3.org>

Daniel E. Renfer schrieb:
> I see <code> as being somewhat similar to <style>. The difference
> being that <code> is displayed but not executed while <style> is
> executed but not displayed.

That's a rather significant difference. <style> is comparable to 
<script>, but the common ground with <code> is tiny.

> The @type attribute on <style> elements
> carries the information of what language the contained code is in.
> This is used by the browser to know what parser should be used, but
> can be used by other things as well.

What things?

Received on Monday, 2 July 2007 19:49:28 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:23 UTC