W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: Tidy becomes less forgiving

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 18 Sep 2001 02:56:41 +0200
To: Fred.Bone@dial.pipex.com
Cc: html-tidy@w3.org
Message-ID: <k36dqtkmcdh4nl17fisvapbb0jnod29mrl@4ax.com>
* Fred Bone wrote:
>On 17 Sep 2001 at 12:40, Reitzel, Charlie wrote:

I didn't receive that mail...

>> I think the distinction between an element and a tag is an SGML-ism that is
>> new to me.

Tags delimit elements. The term "tag" is commonly abused and totally
misused, think of things like "img tag" or "alt tag" (=> img element,
alt attribute). There are only three tags using XML terminology,
start-tags, end-tags and emtpy-element tags. 

>> Thanks for pointing it out.  I continue to learn much while
>> working on Tidy.  In the TBODY declaration, does the pair of O's mean that
>> both the begin and end tags are optional?
>
>Yes! The TBODY element is required (i.e. every TABLE must have a TBODY 
>as its sole mandatory component), but you don't need to mark its 
>beginning or end with a tag.

The same goes for the html, head and body element. The minimal HTML 4
document would be something like

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
  <title>...</title>
  <p>...
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Monday, 17 September 2001 20:57:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT