- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 09 Jul 2004 17:52:43 +0200
- To: "Barbro Hollstedt" <barbro.hollstedt@chello.se>
- Cc: <www-validator@w3.org>
* Barbro Hollstedt wrote: >What shall I di to make this correct? > Encoding: iso-8859-1 > Doctype: HTML 4.01 Transitional > Errors: 7 > > 2.. Line 8, column 43: document type does not allow element "LINK" here > > type="text/css" rel="alternate stylesheet" /> It makes only sense to use /> in XHTML documents. Either remove all the /> notations or switch to XHTML syntax. The latter would most likely require that you change the document type declaration in your document to e.g. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > 5.. Line 177, column 44: there is no attribute "HEIGHT" > > <div id="header3"><table width="80%" height="1"></table></div> Remove the "height" attribute from the table element. Maybe you can use CSS' "height" property instead, see http://www.w3.org/TR/CSS2/visudet.html#propdef-height > 6.. Line 177, column 55: end tag for "TABLE" which is not finished > > <div id="header3"><table width="80%" height="1"></table></div> A <table> must have at least one row, i.e., a <tr> descendant. The entire code seems superfluous...
Received on Friday, 9 July 2004 11:53:22 UTC