W3C home > Mailing lists > Public > www-html@w3.org > February 2007

Re: [html] Elements within "title"?

From: Jens Meiert <jens.meiert@erde3.com>
Date: Tue, 27 Feb 2007 10:57:59 +0100
Cc: help-whatwg.org@lists.whatwg.org, www-html@w3.org
Message-ID: <20070227095759.317660@gmx.net>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>

> > why the "title" element must not contain other elements,
>
> For compatibility reasons in HTML, title cannot contain elements because 
> of the way it is parsed.  It would be possible to do so in XHTML, but 
> then that would be another incompatibility between the 2 languages and 
> there is also limited usefulness in doing so anyway, since many of the 
> use cases for title are plain text.  e.g. the window's title bar, 
> bookmarks, search results, etc.

Well, but can't they just be ignored anyway? I understand that enabling other elements within "title" raises compatibility issues, but it can't be that hard to ignore them under certain circumstances, or is it? 

-- 
Jens Meiert
http://meiert.com/en/
Received on Tuesday, 27 February 2007 10:24:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:08 GMT