W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2006

Re: May be an error at HTML 4.01 Specification

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Fri, 20 Jan 2006 12:45:42 +0100
Message-ID: <43D0CD66.7040000@students.cs.uu.nl>
To: Akikazu Takenaka <tak@sf7.so-net.ne.jp>
Cc: www-html-editor@w3.org

Akikazu Takenaka schreef:
> To whom it may concern:
> 
> Hello.
> I watched the HTML 4.01 Specification on your web site, and I realized
> something (may be) wrong at:
> http://www.w3.org/TR/html4/struct/global.html
> 
> In the example of a simple HTML document at the end of the Section 7.1
> "Introduction to the structure of an HTML document", there is a string
> like this:
> <P>Hello world!
> 
> To make a valid HTML 4.01 document, doesn't this P tag need to be closed
> like this?:
> <P>Hello world!</P>
> 
> I'd like to know if it's right or wrong.

Hi Akikazu,

In HTML, closing tags for <p> elements (and some others, too, such as
<li> and <td>) are optional. So, the example is correct.


~Grauw

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!
Received on Friday, 20 January 2006 11:45:52 GMT

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