Re: Inline styles are banished to legacy

At 15:13 21.02.00 -0800, Walter Ian Kaye wrote:

>Let's take a real-world example. I use CSS for syntax coloring on
><http://www.natural-innovations.com/as/snippets.html> (yes, that's
>a Mac-oriented page for an obvious reason). I'd like to know how
>the syntax coloring could ever be done without inline styles.
>Well, unless I were to make new tags for each syntax part, but then
>it wouldn't be HTML anymore.

What you can do with <tag style="some-style"> can also be done with
<style>#QWERTY {some-style}</style> ... <tag id="QWERTY">, but the first is
certainly more convenient.

Corresponding www-html discussion:
<http://lists.w3.org/Archives/Public/www-html/2000Feb/0151.html>

Received on Monday, 21 February 2000 19:11:06 UTC