W3C home > Mailing lists > Public > www-html@w3.org > September 2002

a new value for <title> and other meta tags

From: <SCJessey@aol.com>
Date: Tue, 10 Sep 2002 16:53:51 EDT
Message-ID: <120.15dbc54b.2aafb5df@aol.com>
To: www-html@w3.org
Mikko writes:

"I think that title element should be allowed anywhere in the body and it 
should probably have |display: inline| by default. Perhaps something 
like this:

...

<section>
<h><title>Header</title></h>
...
   <section>
   <h><title>Another, lower level header</title></h>
   ...
     <section>
     <h>Yet another header but this time without a title element</h>
  <section>
   ...
   </section>
</section>

The idea is that title element would mark new document title for that 
part of the document. Browser should change window title bar text 
according to scrolling position so that the title would reflect to 
currently viewed portion of the whole document. Another nice addition 
would be to define that if the head element contained title element too 
it would be used *in addition* to the title defined in the body. The 
exact way to express both those titles should be user agent specific. 
For example, I'd probably want to use "The title defined in the head -- 
the title defined in the body - Mozilla ID: 20020822". This way 
bookmarking a specific part of a document could get better title by 
default too."

I've always thought it was not good practice to make very long documents.  
The need for a new title should go hand in hand with the need for a separate 
document.

The current method of separating the title from the document body seems 
perfectly reasonable to me.  I try to ensure that all of the documents I 
create have a single h1 element and that heading is usually replicated in the 
title, but it is rarely the same.

On my personal website I have chosen to title each document with a simple 
identification of where a page is located.  The timeline for my US visa 
process, for example, has a title "jessey.net | visa | K1 Visa", whereas the 
main heading is "Simon's K1 Visa Timeline".  Many corporate websites may wish 
to include their brand name in the title, but not repeat it in any headings.

Simon Jessey
e: <A HREF="mailto:scjessey@aol.com">scjessey@aol.com</A>
w: <A HREF="http://jessey.net/">http://jessey.net</A>
Received on Tuesday, 10 September 2002 16:54:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:52 GMT