Re: I have this error in my page and i do not know how to fix it...

On Mon, 27 Jun 2005, shoshan cohen wrote:

> my error-ed page is ""
> I am writting a "div" tag inside my "sctipt" tag, and it sais
> 'document type does not allow element "a"/"div" here'
> because it's inside the "script" tag...
> is this a real error, or is it a mistake ?.........

Yes, it's a real error; see <>.

I would recommend not using JavaScript for your purpose.  An HTML
preprocessor or server-side script would be much more appropriate and
would significantly improve your page's accessibility.  Search engine
robots are unlikely to find your links if they are generated by

Liam Quinn

Received on Tuesday, 28 June 2005 01:33:10 UTC