/    Sign up×
Community /Pin to ProfileBookmark

I can not validate this html

I have the following lines in my we page inside <SCRIPT> tags:

[code=php] document.write(‘<a href=”http://clkuk.tradedoubler.com/click?p=15880&a=9858210&g=468045″ target=”_blank”><img src=”‘+uri+'” border=0></a>’); [/code]

When I try to validate it I get the following error:

[code=php] end tag for element “A” which is not open

…lank”><img src=”‘+uri+'” border=0></a>’);

What can I do?


to post a comment

4 Comments(s)

Copy linkTweet thisAlerts:
@the_treeJun 24.2005 — I'm sure it says in the validation results, but anyway. Just change [b]</a>[/b] to [b]</a>[/b].
Copy linkTweet thisAlerts:
@The_Little_GuyJun 25.2005 — Shouldn't this:


Look like this:


Im not sure
Copy linkTweet thisAlerts:
@ErikLindemannJun 25.2005 — Sorry Little Guy, but on validator.w3.org they use uri in some instances. I'm thinking of finding out what they mean.

like in the address bar it looks like this for my site:


I bolded uri for you to see it.
Copy linkTweet thisAlerts:
@wayne_caJun 25.2005 — To The Little Guy:

Check [URL=http://www.w3.org/Addressing/#background]this[/URL] out for info on URIs.


Help @amahmood spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ

legal: ({
terms: of use,
privacy: policy
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,