[HTML5] [html] Elements within "title"?

Jens Meiert jens.meiert at erde3.com
Tue Feb 27 01:57:59 PST 2007


> > 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/




More information about the Help mailing list