Re: [html] Elements within "title"?

"Jukka K. Korpela" <[email protected]> Fri, 18 May 2012 21:09:52 +0300
Newsgroups gmane.comp.web.html.general
Message-ID <[email protected]>
2012-05-18 19:58, Philip TAYLOR wrote:

> Those are not examples of "valid"; they are examples
> of (potentially) "beneficial" or "useful".

Even the usefulness is questionable, since the markup inside title=20
element in

>> <title>Chemistry of H<sub>2</sub>SO<sub>4</sub></title>

(which is not valid and does not work the intended way)
can be replaced by the use of subscript characters, either as such or=20
via character references, e.g.

<title>Chemistry of H&#x2082;SO&#x2084;</title>

or even

<title>Chemistry of H=E2=82=82SO=E2=82=84</title>

This actually works well in modern browsers.

A potential need that cannot be covered in such a way is a bilingual=20
title element (for, say, a bilingual document). You cannot use different=20
lang attributes for different parts without having some markup for the=20
parts. But browsers, search engines, and other programs generally ignore=20
lang attributes anyway, so it=E2=80=99s not a big issue.

Yucca

P.S. This =E2=80=9Cdiscussion=E2=80=9D seems to consist of mostly isolate=
d messages=20
posted through the years when people find old messages in the archive=20
and comment them without giving context.