Re: H1

> But doesn't that make <title> redundant; if it can
> be unambiguously determined from the first (?only>)
> <h1>, then why have <title> at all ?

Rather: why have H1 at all?* In most LaTeX styles the title from the
head is put on the first page. The XHTML equivalent would be including
the following (which uses Microsoft's proposed expression() value) in
the default stylesheet:

BODY:before {
        content:
expression(document.getElementsByTagName('title').item(0).firstChild.data);
        display: block;
        font-size: 2em;
        margin: 0.67em 0;
        font-weight: bolder;
}

After all, it is entirely arbitrary for UAs to put the contents of the
TITLE element in the titlebar. So you shouldn't be putting navigation
hints or advertisements, or whatever else some of the other posters
would call their garbage. Also, the TITLE of a document is not
semantically the same as "what the document should be bookmarked as".
Maybe there should be seperate styles for the titlebar, then you could
do things like this in your site-wide stylesheet:

TITLEBAR:before {
        content: 'Royal Holloway : ';
}

@media bookmark {
        [...?]
}

~ Jared Warren
Computing Science, Queen's University

* And of course the XHTML2 proposal doesn't rather allowing one H per
SECTION or BODY, making this entire thread moot.

Received on Wednesday, 12 February 2003 17:26:39 UTC