Topic: can't get google search form to validate (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() This is driving me crazy, why doesn't this validate? code: <!DOCTYPE html |
Maniac (V) Inmate From: raht cheah |
![]() |
Nervous Wreck (II) Inmate From: |
![]() 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 |
![]() Well......why does it say it is not validating? |
Maniac (V) Inmate From: raht cheah |
![]() quote:
|
Paranoid (IV) Inmate From: Brisbane, Australia |
![]() 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 |
![]() |
Nervous Wreck (II) Inmate From: |
![]() Thank you, it works |
Maniac (V) Inmate From: raht cheah |
![]() |
Paranoid (IV) Inmate From: Brisbane, Australia |
![]() One of the links on that page seems so very, very wrong. |
Maniac (V) Inmate From: under the bed |
![]() Rather semantically poor to use a <p> though - you're not presenting a paragraph. |
Maniac (V) Inmate From: raht cheah |
![]() 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: |
![]() 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. |