W3C home > Mailing lists > Public > site-comments@w3.org > March 2012

defect in example

From: Divyesh Bhakta <divyesh.s.bhakta@gmail.com>
Date: Sat, 24 Mar 2012 00:18:53 +0000
Message-Id: <CAEqpXCbX8R04ZyXTtdptsHORVFFQZ4RqOr4mzze68-+WaR3y8w@mail.gmail.com>
To: site-comments@w3.org

Hi w3.org,

i have found the example which has defect on page : http://www.w3.org/TR/html401/struct/global.html

In a very first section (7.1 Introduction to the structure of an HTML document) the paragraph required end tag. see the following example that is on the link above.

current : 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
   <HEAD>
      <TITLE>My first HTML document</TITLE>
   </HEAD>
   <BODY>
      <P>Hello world!
   </BODY>
</HTML>

Should be

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
   <HEAD>
      <TITLE>My first HTML document</TITLE>
   </HEAD>
   <BODY>
      <P>Hello world!</p>
   </BODY>
</HTML>

-- 
Thanks & Regards,
Divyeshkumar Bhakta.
415 710 4130
Received on Saturday, 24 March 2012 01:10:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:34 GMT