[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#98811: Web pages using deprecated HTML syntax



Package: www.debian.org
Version: contact.en.wml v. 1.23
Severity: minor

The page I'm just working on (I'm a french translator of Debian web pages) contains tags 
which are - accordingly to the most recent W3C recommandations (XHTML 1.1) - no longer valid 
HTML.

Those recommandations say (amongst many other things) that in the future :

1) HTML tags *must* be in lowercase ;
2) ALL HTML-markup *must* have a start *and* an end tag.

So, taking as an example what I found in the "contact" page, "<H2>text</H2> should become 
"<h2>text</h2>", "<UL>" should become "<ul>" etc...
"<LI>List item" have to be changed into "<li>list item</li>"
"<p>paragraphs" become "<p>paragraphs</p>" etc.,

"empty" tags (as <hr> and <br>, which generally don't contain any text) need an end tag as 
well. In these special cases, the end tag can be integrated in the start tag, so now they 
will have to be written as "<hr />" and "<br />", "<img ...>" as "<img ... />"...

There's no problem with the actual browsers yet, but you'll have to be aware that future 
browsers may no longer care about what once were the oldest HTML versions. The W3C 
recommends compliance to the newest HTML rules as soon as possible.

I suppose this problem has some chances to occur on all the pages...

for reference : http://www.w3c.org
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  (o_    This was The Megabyte Text Magician - http://tmtm.free.fr
  //\               "Les peripheriques vous parlent"
  V_/_    http://www.globenet.org/periph    -    TUX powered  ;-)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*






Reply to: