W3C home > Mailing lists > Public > www-validator@w3.org > April 2011

Problem with w3c-Validator

From: Lühmann <info@planb-deutschland.de>
Date: Sun, 24 Apr 2011 00:06:34 +0200
Message-ID: <BE297D06105B47FBB1DCDEF115782D86@netbook>
To: <www-validator@w3.org>

1. sorry for my bad english.

2. I use the w3c-Validator as much as possible. Now i've tried to write in Javascript an url on my site, but the w3c-Validator show an error.

This is my script

<script type="text/javascript">
document.getElementById('ajax_profil').innerHTML = '<a href="avatar/OMcdAJOMsD_l.jpg" class="single_image"><img src="avatar/OMcdAJOMsD_l.jpg" alt="OMcdAJOMsD" class="avatar_img_right" /></a>';
</script>The Validator means, it is not allowed to place an <a>-element here. Maybe I'm wrong, but i can place images and any other element here, but not an <a>-element.The page is not finished, why I can't send the adresse. Best regards

NOTE: Whenever possible, give the address of the document you were checking.
Received on Sunday, 24 April 2011 16:47:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:03 UTC