[whatwg] HTML as a text format: Should <title> be optional?

Markus Ernst derernst at gmx.ch
Sat Apr 18 05:32:40 PDT 2009


Øistein E. Andersen schrieb:
> On 18 Apr 2009, at 00:02, Randy Drielinger wrote:
> 
>> If you're converting from a textfile, title could refer to the filename.
> 
> 
> It could, but chances are that the original filename would typically be 
> less useful than the URL, which is what most browsers use when the 
> <title> element is omitted, so this rather sounds like an argument 
> against forcing authors to include a <title>.

If there was a consent about making <title> optional, I'd suggest to use 
the contents of the <h1> element as a replacement, if one is present, as 
<h1> represents the main title in the contents of a document.



More information about the whatwg mailing list