Posted by Brian Cryer on 06/25/06 06:54
"Adrienne Boswell" <arbpen@yahoo.com> wrote in message
news:Xns97ECB6736F989arbpenyahoocom@69.28.186.121...
> Gazing into my crystal ball I observed "Samuλl van Laere"
> <webkluns@hotmail.com> writing in news:c6623$449dd136$d52e1f47$27874
> @news.chello.nl:
>
>> I've allway's thought this was correct:
>><ul>
>><li><a href=http://www.someurltoadd.com>Click Me</a></li>
>></ul>
>>
>> But it isn't.
>>
>> The W3C HTML Validator doesn't want the ending </a> tag there.
>> Why is that?
>> I mean, it looks better with right?
>>
>
> Here's the error:
> <a href=http://www.oukje.nl/weblog/index.php?id=4
> The validator is looking for <a href=" , so it thinks that the A element
> is not open, therefore </a> is throwing an error.
Adrienne is quite right - always put quotes around the address, so:
<a href="http://www.someurltoadd.com">Click Me</a>
and NOT:
<a href=http://www.someurltoadd.com>Click Me</a>
--
Brian Cryer
www.cryer.co.uk/brian
[Back to original message]
|