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

Re: HTML errors in DPN pages



On Mon, Feb 16, 2009 at 05:42:27PM +0000, MJ Ray wrote:
> 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

How about prepending "topic" to each name (e.g., '<a name="topic1">')?

> Hope that helps,

Yes, thanks.

-- 
Matt                                                 http://ftbfs.org/


Reply to: