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

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