[HTML5] [html] Elements within "title"?
lachlan.hunt at lachy.id.au
Thu Mar 8 17:41:05 PST 2007
Steven Pemberton wrote:
> The title element gives metadata about the document. In XHTML2's unified
> treatment of metadata, the title element is considered as a shorthand for
> <meta property="title">Your title text here</meta>
> But the meta element *can* contain other elements, so if you need to
> have a title with elements, then that is the place to put it:
If that's the case, then why doesn't XHTML2 just make the content model
of <title> and <meta> the same? Why confuse authors by requiring that
they use a completely different element if they want to include markup
Where in the XHTML2 spec does it actually define the UA conformance
requirements for treating <title> as shorthand for that <meta> element,
or vice versa?
It states :
| The title of a document is metadata about the document, and so a title
| like <title>About W3C</title> is equivalent to <meta about=""
| property="title">About W3C</meta>.
But neither that statement, nor any others I could find, include any
Which takes precedence if both are specified, and they differ? In fact,
which takes precedence if an author inclueds 2 or more title elements?
Besides, allowing markup in titles at all seems to ignore the fact that
most uses for title are limited to plain text, and thus not useful.
More information about the Help