W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: Title attribute and css selectors

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 16 Mar 2008 22:59:15 +0100
To: "Paul Nelson (ATC)" <paulnel@winse.microsoft.com>, "Brad Kemper" <brkemper@comcast.net>, "David Woolley" <forums@david-woolley.me.uk>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.t74p01vb64w2qv@annevk-t60.oslo.opera.com>

On Sun, 16 Mar 2008 21:13:00 +0100, Paul Nelson (ATC)  
<paulnel@winse.microsoft.com> wrote:
> One question that needs to be answered is whether or not the <title> is  
> 'text'.
> Being found within the <head> element, which is composed of a lot of  
> non-text types of things, it really is not reasonable to consider that  
> the <title> is not for styling purposes...or it might have been included  
> in the <body> portion of the document.
> The title is normally displayed outside of the context of the body or  
> the client window where the content is rendered. Perhaps Linux, or some  
> other OS, wants to allow for any application to style their windowing  
> system. That is, however, outside of the scope of the CSS specification  
> and should never be considered normative.

FWIW, the question was about the title _attribute_. (Though presumably the  
tooltip it typically generates was meant and not the attribute itself.)  
The title element can be styled perfectly fine in all compliant CSS UAs.  
Just do

   head, title { display:block }

to make it visible for instance within the document.

Anne van Kesteren
Received on Sunday, 16 March 2008 21:59:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:34 UTC