Reply to Re: converting to STRICT (href values and target attribute)

Your name:

Reply:


Posted by richard on 10/01/06 02:53

<petermichaux@gmail.com> wrote in message
news:1159665105.259688.133730@m7g2000cwm.googlegroups.com...
> Hi,
>
> I am converting an old page to STRICT.
>
> When validating the page I learned that I can't have a link like the
> following. The '&' and '=' characters are not allowed? How can I make
> this link validate?
>
> <a
> href="http://www.foo.com/cgi-bin/test.pl?ACCOUNT=1006458&THE_BUTTON=display_page&PAGE_TYPE=MI_PPC#ASDF">
>
>
> I also learned that I can't use the "target" attribute in STRICT pages
> like the following. What do I do to get around this? Do I have to write
> JavaScript in the onclick attribute? That wouldn't be so good if
> JavaScript is off.
>
> <a href="http://www.7Search.com/" target="new">7Search.com</a>
>
> Thank you,
> Peter
>

The validator generally gives you some reasons why the error occurred. Read
up on them.

In general, &amp is best used instead of just &.
"new" should be _blank.
You should take the time to learn what attributes go with which terms.
learn the basics of coding.

[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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация