Thanks Weedpacket, I never would have seen the different forms of double quotes. Must have picked them up using cut&paste too glibly. Got that fixed. Now down to line 12.
The next error, which I've encountered several times, complains of short tabs. Had to look them up on the web. Seems they are characterized by having '>' instead of '/>' as closers. This is a surprise to me. I've been using /> for years (the only thing in my HTML reference). The subject script is full of them. So one by one I'm removing them and finding yet another error in the same line. Line 12 is an example. Here's the last error after shortening the short tab ending...
Line 12, Column 22: an attribute value literal can occur in an attribute specification list only after a VI delimiter
<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" …
Validitor has highlighted the 'a' in action. Here's the full line...
Think this came from an example PayPal script. Don't fully understand it though. Form data are supposed to contain 2 attributes (3rd re. encoding is optional). So I deleted target parameter, which is associated w/ frames (not in use in this script) and got this error...
Line 12, Column 23: NET-enabling start-tag requires SHORTTAG YES
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" >…
Now I need to declare a shorttag=yes? Where? Why? The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML. Validator had already decided a few lines ago that shorttags are in use didn't it? Validator's explanation is ...
The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.
Why is it thinking 'strict' when 'translational' is stated in !DOCTYPE?
This is just one of 27 errors to go!
Any suggestions?
u-sit