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, & 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]
|