W3C home > Mailing lists > Public > www-validator@w3.org > February 2013

Re: [VE][html5] Add Subject Here

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 14 Feb 2013 12:58:50 +0200
Message-ID: <511CC36A.1080208@cs.tut.fi>
To: Mariano Barbu <lavacochesmadrid@hotmail.es>
CC: www-validator@w3.org
2013-02-10 22:27, Mariano Barbu wrote:

> Validating http://lavacochesnely.es/
> Error [html5]: ""

There are several issues with the page, but none of them is particularly complicated. Read the Validator's error messages and, if needed check out the references cited in them.

The first error is essential. The <!DOCTYPE html> line should be placed at the very start of the document.

Messages about the font element are given because you are using HTML5 validation and HTML5 CR declares the font element as "obsolete". The element still work and it is required to work, so this is a matter of coding style, really. To most people, the font element is *so* 1990s, and CSS is used instead.

Messages "Stray end tag a." are simple: the markup has two consecutive </a> tags. In practice, the second one just gets ignored, but for clean code, delete the second one.

Then there's <object width="425" height="350">, which can't make sense in HTML terms: it tells the browser to embed a document but does not says which. I suppose the element is being manipulated with JavaScript. Consider whether you can still provide a data attribute or a type attribute or both (as required by the HTML5 CR).

Remove the </param> and </embed> tags. They have no effect, and they are disallowed according to the HTML5 CR. Also remove those </p> tags that have no matching start tag. Note that a <div> element implicitly closes an open <p> element.

The table that starts on line 806 does not match the HTML table model. The table should be turned into a row of the table that precedes it.

On lines 871 - 879, there is a long URL divided into several lines. Make it one line. A URL may not contain a line break.

Received on Thursday, 14 February 2013 10:59:24 GMT

This archive was generated by hypermail 2.3.1 : Monday, 18 March 2013 18:07:59 GMT