[whatwg] <font> (was Support Existing Content)
Jon Barnett
jonbarnett at gmail.com
Tue May 1 10:59:37 PDT 2007
On 5/1/07, Smylers <Smylers at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070501/ad3e0fd4/attachment-0001.htm>
More information about the whatwg
mailing list