Re: May be an error at HTML 4.01 Specification

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 UTC