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

Re: [whatwg] <font> (was Support Existing Content)

From: Jon Barnett <jonbarnett@gmail.com>
Date: Tue, 1 May 2007 12:59:37 -0500
Message-ID: <bde87dd20705011059q5438c2b5v12566bf506b5686e@mail.gmail.com>
To: whatwg@lists.whatwg.org, public-html@w3.org
On 5/1/07, Smylers <Smylers@stripey.com> wrote:
> Jon Barnett writes:
> > If <font> is allowed, then <font size> could be allowed, because a
> > server-side script could more easily find <font size=7> and replace it
> > with <h1>.
> Why would that be a correct thing to do?  If somebody has made text
> large for emphasis or other effect, then labelling it as a heading would
> be wrong, surely?
> Smylers

You're right.  Such an engine would have to figure out if <font size> was
being used as a block instead of inline in context, and at that point <h1>
is still a guess.  But that guess is more educated or simpler than the guess
an engine could make at a <font style> tag.  I guess I'm trying to think of
any semantic benefit <font> has over <span> when editors use it and that's
the best I could come up with.

Jon Barnett
Received on Tuesday, 1 May 2007 17:59:42 UTC

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