A year and a half ago, I was using single quotes for tag attributes all the
time. Unfortunately, I wasn't watching the server logs and when I finally
did look at the logs, I found that this had caused numerous 404 errors.
Apparently, there are some browsers that can't handle the single quoted
attributes, especially for HREF's and FORM ACTION's. So my advice is to
never use single quotes for tag attributes. It will save you a lot time,
when you don't have to go back to fix your mistake.
-- Jeremiah
on 1/30/00 5:56 PM, Isaac Reuben at [EMAIL PROTECTED] wrote:
> Anybody have a serious preference for using double quotes over single quotes
> for tag attributes? I like single so you can do things like this:
>
> print("<INPUT TYPE='hidden' NAME='ACTION' VALUE='$action'>\n");
>
> instead of:
>
> print("<INPUT TYPE=\"hidden\" NAME=\"ACTION\" VALUE=\"$action\">\n");
>
> Single and double are both ok according to w3, but I noticed that double
> quotes seem to be used everywhere in FreeTrade.
>
> - Isaac =)
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]