Topic: can't get google search form to validate (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 10-26-2004 06:37
This is driving me crazy, why doesn't this validate? code: <!DOCTYPE html |
Maniac (V) Inmate From: raht cheah |
posted 10-26-2004 06:54 |
Nervous Wreck (II) Inmate From: |
posted 10-26-2004 21:21
1) I don't understand. Do you mean the code should be validating? code: <?xml version="1.0" encoding="utf-8"?> as the first line of their example. |
Maniac (V) Inmate From: under the bed |
posted 10-26-2004 21:51
Well......why does it say it is not validating? |
Maniac (V) Inmate From: raht cheah |
posted 10-26-2004 22:37
quote:
|
Paranoid (IV) Inmate From: Brisbane, Australia |
posted 10-26-2004 22:40
You need to wrap some block level elements around parts of the content. code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
Maniac (V) Inmate From: raht cheah |
posted 10-26-2004 22:45 |
Nervous Wreck (II) Inmate From: |
posted 10-26-2004 22:47
Thank you, it works |
Maniac (V) Inmate From: raht cheah |
posted 10-26-2004 23:39 |
Paranoid (IV) Inmate From: Brisbane, Australia |
posted 10-27-2004 00:01
One of the links on that page seems so very, very wrong. |
Maniac (V) Inmate From: under the bed |
posted 10-27-2004 00:31
Rather semantically poor to use a <p> though - you're not presenting a paragraph. |
Maniac (V) Inmate From: raht cheah |
posted 10-27-2004 00:42
actually they did point it out but it didn't register at all for me because of the semantically correct thing, it just didn't make sense so I all but dismissed it because of my previous experiences with validator vagueries. At one time I wrapped the form in a div just to see what would happen but I I still got an error (assumably because the image was left naked). Then I went off on a tangential thought and never came back. |
Nervous Wreck (II) Inmate From: |
posted 10-27-2004 02:12
quote: I begain with a single div with the images and form tags inside it, and that didn't validate... quote: Untill now, most of the validator errors I ran into where self explainatory or easy to figure out what the problem was. This one was cryptic to me. |