W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2001

RE: What HTML Means

From: Charles F. Munat <chas@munat.com>
Date: Sat, 20 Jan 2001 12:05:08 -0800
To: "WAI Interest Group \(E-mail\)" <w3c-wai-ig@w3.org>
Message-ID: <003a01c0831c$4a135dc0$0100a8c0@aries>
Kynn wrote:
> How is <font size="+1"> different from <div style="font-size: larger">,
really?  They both "look like HTML to me."

Good point. Effectively, they *are* the same, which is why your style
declaration belongs in the style sheet and not in a style attribute. Using
styles in this manner indicates that the writer didn't really get the idea
behind the separation of structure and presentation. So, in effect, you are
comparing bad HTML to bad use of CSS. It's not surprising that they have the
same problems.

Charles F. Munat
Received on Saturday, 20 January 2001 14:58:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:35:59 UTC