Re: [whatwg] HTML as a text format: Should be optional?</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=whatwg@lists.whatwg.org&q=from:%22Michael+Enright%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Michael Enright</span></span></a></span> <span class="date"><a href="/search?l=whatwg@lists.whatwg.org&q=date:20090417" rel="nofollow">Fri, 17 Apr 2009 18:10:39 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>If you use HTML as a text file format you can still let the receiving parser infer all sorts of tags and allow yourself to write things like Andersen's first HTML version. If you want a title, put a title element in. Is the concern about validation? Can one really get in that much trouble without a pedantic validator checking your work? Could the validator's warning about missing doctype be taken as advisory? Is the doctype a problem? It only affects the details of rendering (by turning off quirks) and HTML5 is still not equivalent to pagemaker anyway, especially without CSS.</pre><pre> On Fri, Apr 17, 2009 at 4:02 PM, Randy Drielinger <ra...@prowebdesign.nl> wrote: > If you're converting from a textfile, title could refer to the filename. > > If it's an automated process, it can be added by default. > > If it's manual, they'll have to remember the short html5 doctype and the > title element. > > > Personally I don't see any reason to make title optional. > > ----- Oorspronkelijk bericht ----- > Van: Øistein E. Andersen <li...@coq.no> > Verzonden: vrijdag 17 april 2009 21:49 > Aan: wha...@whatwg.org > Onderwerp: [whatwg] HTML as a text format: Should <title> be optional? > > HTML can be used as an advanced text format, and people may want to > convert existing plain text to HTML.  For example's sake, consider the > following: > >> A Short Document >> ~~~~~~~~~~~~~~~~ >> This is a short plain-text document which someone >> might want to convert into HTML. >> >> As faithful readers of this list will recall, >> /Règles typographiques/ requires note names to be >> typeset in italics (/ut/, /ré/, /mi/, etc.), >> which is not possible in plain text. > > This corresponds to the following HTML: > >> <h1>A Short Document</h1> >> >> <p>This is a short plain-text document which someone >> might want to convert into HTML. >> >> <p>As faithful readers of this list will recall, >> <i>Règles typographiques</i> requires note names to be >> typeset in italics (<i>ut</i>, <i>ré</i>, <i>mi</i>, etc.), >> which is not possible in plain text. > > Unfortunately, this is not valid; the following two lines must be > added to the top: > >> <!DOCTYPE html> >> <title>A Short Document</title> > > The DOCTYPE is unfortunate, but seems impossible to get rid of at this > point. > > A <title> is usually a good idea, but is it really necessary to > require this for conformance?  After all, a <title> is not something > which an author is likely to forget, and leaving it out has no > unexpected consequences. > > -- > Øistein E. Andersen > </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg14441.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd9.html#14442">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail10.html#14442">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg14449.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg14438.html">[whatwg] HTML as a text format: Should <title>...</a></span> <span class="sender italic">Øistein E . Andersen</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg14451.html">Re: [whatwg] HTML as a text format: Should <...</a></span> <span class="sender italic">Kristof Zelechovski</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg15241.html">Re: [whatwg] HTML as a text format: Should ...</a></span> <span class="sender italic">Ian Hickson</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg15246.html">Re: [whatwg] HTML as a text format: Sho...</a></span> <span class="sender italic">Michael Enright</span></li> </ul></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg14441.html">Re: [whatwg] HTML as a text format: Should <...</a></span> <span class="sender italic">Randy Drielinger</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [whatwg] HTML as a text format: Should ...</span> <span class="sender italic">Michael Enright</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg14449.html">Re: [whatwg] HTML as a text format: Sho...</a></span> <span class="sender italic">Øistein E . Andersen</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg14450.html">Re: [whatwg] HTML as a text format:...</a></span> <span class="sender italic">Markus Ernst</span></li> </ul> </ul> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: [whatwg] HTML as a text format: Should <title> be optional?"> <input type="hidden" name="msgid" value="eab6593d0904171810m106784cla0719ef049e11ef7@mail.gmail.com"> <input type="hidden" name="relpath" value="whatwg@lists.whatwg.org/msg14442.html"> <input type="submit" value=" Michael Enright "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="whatwg@lists.whatwg.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search whatwg"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/whatwg@lists.whatwg.org/">whatwg - all messages</a></li> <li class="icons-about"><a href="/whatwg@lists.whatwg.org/info.html">whatwg - about the list</a></li> <li class="icons-expand"><a href="/search?l=whatwg@lists.whatwg.org&q=subject:%22Re%5C%3A+%5C%5Bwhatwg%5C%5D+HTML+as+a+text+format%5C%3A+Should+%3Ctitle%3E+be+optional%5C%3F%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg14441.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg14449.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">eab6593d0904171810m106784cla0719ef049e11ef7@mail.gmail.com</li> </ul> </div> </body> </html>