Reply to Re: </A> not needed?

Your name:

Reply:


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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация