questa riga mi da errore nella validazione:

codice:
<div><a id="su" name="su"></a></div>
Error Line 28 column 21: there is no attribute "name".

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element.

il doctype è:

codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it">
per evitare un errore in priorità 2, ho dovuto inserire anche quell'attributo... però non valida la pagina...

come si dovrebbe risolvere?