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

Re: HTML errors in DPN pages



Matt Kraai <kraai@ftbfs.org> wrote:
> On Sat, Feb 14, 2009 at 05:53:14PM +0100, Luca Monducci wrote:
> > I just noticed this error in several DPN pages:
> > 
> > <a name="1"><h2>Release Update</h2></a>
> > 
> > A tag <h2> cannot be contained in anchor; this can be fixed in this
> > way:
> > 
> > <h2><a name="1">Release Update</a></h2>
>
> Thanks for noticing and reporting this.  I'm not sure how the pages
> are generated, so I've copied debian-publicity.

Moreover, a name cannot be only a number.  See
http://www.w3.org/TR/html401/types.html#type-id

I made that mistake a few years ago and almost all tools accept it,
though.

Hope that helps,
-- 
MJ Ray (slef)
Webmaster for hire, statistician and online shop builder for a small
worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/
(Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237


Reply to: